34#ifndef G4tgbGeometryDumper_hh
35#define G4tgbGeometryDumper_hh 1
94 G4String GetObjectName(TYP* obj, std::map<G4String, TYP*> objectsDumped);
107 std::ofstream* theFile =
nullptr;
109 std::map<G4String, G4Material*> theMaterials;
110 std::map<G4String, G4Element*> theElements;
111 std::map<G4String, G4Isotope*> theIsotopes;
112 std::map<G4String, G4VSolid*> theSolids;
113 std::map<G4String, G4LogicalVolume*> theLogVols;
114 std::map<G4String, G4VPhysicalVolume*> thePhysVols;
115 std::map<G4String, G4RotationMatrix*> theRotMats;
117 G4int theRotationNumber = 0;
static G4tgbGeometryDumper * GetInstance()
void DumpIsotope(G4Isotope *ele)
void DumpScaledVolume(G4VSolid *so)
void DumpGeometry(const G4String &fname)
G4String DumpLogVol(G4LogicalVolume *lv, const G4String &extraName="", G4VSolid *solid=nullptr, G4Material *mate=nullptr)
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)
void DumpMultiUnionVolume(G4VSolid *so)
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)