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;
void DumpIsotope(G4Isotope *ele)
G4String DumpMaterial(G4Material *mat)
void DumpSolidParams(G4VSolid *so)
void DumpPolySections(G4int zPlanes, G4double *z, G4double *rmin, G4double *rmax)
void DumpPVReplica(G4PVReplica *pv, const G4String &lvName)
void DumpPhysVol(G4VPhysicalVolume *pv)
void DumpGeometry(const G4String &fname)
void DumpPVPlacement(G4VPhysicalVolume *pv, const G4String &lvName, G4int copyNo=-999)
G4String DumpRotationMatrix(G4RotationMatrix *rotm)
void DumpBooleanVolume(const G4String &solidType, G4VSolid *so)
static G4tgbGeometryDumper * GetInstance()
std::vector< G4double > GetSolidParams(const G4VSolid *so)
void DumpPVParameterised(G4PVParameterised *pv)
G4VPhysicalVolume * GetTopPhysVol()
G4String DumpSolid(G4VSolid *solid, const G4String &extraName="")
G4String DumpLogVol(G4LogicalVolume *lv, G4String extraName="", G4VSolid *solid=0, G4Material *mate=0)
void DumpElement(G4Element *ele)