Dear ROOT users! I have TGeometry object. Now I'd like to create GEANT application with this geometry: // This is example of GEANT UGEOM function on C++ void UGEOM(void) { TGeometry g("g","g"); // .... CreateGeometryGEANT(g); } Any recommendation how I should write the function CreateGeometryGEANT() ? May be I need create classes class TGeometry_GEANT : public TGeometry { public: CreateGeometryGEANT(void); }; class TShape_GEANT : public TShape { public: CreateShapeGeometry(void); }; ... and so on where CreateShapeGeometry is simple call to GSVOLU? Then my code will be void UGEOM(void) { TGeometry_GEANT g("g","g"); // .... g.CreateGeometryGEANT(); } Comments? Thanks, Alexander Zvyagin.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET