37#ifndef G4tgbGeometryDumper_HH
38#define G4tgbGeometryDumper_HH
68 G4int copyNo = -999 );
97 template<
class TYP>
G4String GetObjectName( TYP* obj,
98 std::map<G4String,TYP*> objectsDumped );
111 std::ofstream* theFile;
113 std::map<G4String,G4Material*> theMaterials;
114 std::map<G4String,G4Element*> theElements;
115 std::map<G4String,G4Isotope*> theIsotopes;
116 std::map<G4String,G4VSolid*> theSolids;
117 std::map<G4String,G4LogicalVolume*> theLogVols;
118 std::map<G4String,G4VPhysicalVolume*> thePhysVols;
119 std::map<G4String,G4RotationMatrix*> theRotMats;
121 G4int theRotationNumber;
static G4tgbGeometryDumper * GetInstance()
G4String DumpLogVol(G4LogicalVolume *lv, G4String extraName="", G4VSolid *solid=0, G4Material *mate=0)
void DumpIsotope(G4Isotope *ele)
void DumpGeometry(const G4String &fname)
void DumpPhysVol(G4VPhysicalVolume *pv)
G4String DumpRotationMatrix(G4RotationMatrix *rotm)
void DumpBooleanVolume(const G4String &solidType, G4VSolid *so)
G4String DumpMaterial(G4Material *mat)
void DumpPVReplica(G4PVReplica *pv, const G4String &lvName)
void DumpPVParameterised(G4PVParameterised *pv)
void DumpPolySections(G4int zPlanes, G4double *z, G4double *rmin, G4double *rmax)
G4VPhysicalVolume * GetTopPhysVol()
G4String DumpSolid(G4VSolid *solid, const G4String &extraName="")
void DumpElement(G4Element *ele)
void DumpSolidParams(G4VSolid *so)
void DumpPVPlacement(G4VPhysicalVolume *pv, const G4String &lvName, G4int copyNo=-999)
std::vector< G4double > GetSolidParams(const G4VSolid *so)