34#ifndef G4tgbGeometryDumper_hh
35#define G4tgbGeometryDumper_hh 1
53class G4tgbGeometryDumper
84 G4tgbGeometryDumper();
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;
G4PVReplica(const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset=0.)
G4PVReplica represents many touchable detector elements differing only in their positioning....
CLHEP::HepRotation G4RotationMatrix
G4LogicalVolume represents a leaf node or unpositioned subtree in the geometry hierarchy....
G4PVParameterised represents many touchable detector elements differing in their positioning and dime...
G4VPhysicalVolume is an abstract base class for the representation of a positioned volume....
G4VSolid is an abstract base class for solids, physical shapes that can be tracked through....
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)