37 #ifndef G4tgbGeometryDumper_HH
38 #define G4tgbGeometryDumper_HH
68 G4int copyNo = -999 );
98 std::map<G4String,TYP*> objectsDumped );
static const G4double ele2
G4String GetTGSolidType(const G4String &solidtype)
G4double MatDeterminant(G4RotationMatrix *ro)
G4String DumpSolid(G4VSolid *solid, const G4String &extraName="")
G4String AddQuotes(const G4String &str)
void DumpPVPlacement(G4VPhysicalVolume *pv, const G4String &lvName, G4int copyNo=-999)
std::map< G4String, G4Material * > theMaterials
std::map< G4String, G4Element * > theElements
static G4ThreadLocal G4tgbGeometryDumper * theInstance
G4String GetIsotopeName(G4Isotope *)
void DumpPhysVol(G4VPhysicalVolume *pv)
G4String DumpMaterial(G4Material *mat)
void DumpPolySections(G4int zPlanes, G4double *z, G4double *rmin, G4double *rmax)
G4bool CheckIfLogVolExists(const G4String &name, G4LogicalVolume *pt)
G4String LookForExistingRotation(const G4RotationMatrix *rotm)
static G4tgbGeometryDumper * GetInstance()
void DumpElement(G4Element *ele)
G4bool Same2G4Isotopes(G4Isotope *ele1, G4Isotope *ele2)
G4String SubstituteRefl(G4String name)
std::vector< G4double > GetSolidParams(const G4VSolid *so)
static const G4double ele1
void DumpPVParameterised(G4PVParameterised *pv)
void DumpSolidParams(G4VSolid *so)
const G4String & FindSolidName(G4VSolid *solid)
G4bool CheckIfPhysVolExists(const G4String &name, G4VPhysicalVolume *)
G4VPhysicalVolume * GetTopPhysVol()
std::map< G4String, G4RotationMatrix * > theRotMats
void DumpIsotope(G4Isotope *ele)
G4String DumpRotationMatrix(G4RotationMatrix *rotm)
void DumpGeometry(const G4String &fname)
std::vector< G4VPhysicalVolume * > GetPVChildren(G4LogicalVolume *lv)
std::map< G4String, G4VSolid * > theSolids
void DumpBooleanVolume(const G4String &solidType, G4VSolid *so)
G4String SupressRefl(G4String name)
G4String GetObjectName(TYP *obj, std::map< G4String, TYP * > objectsDumped)
G4String DumpLogVol(G4LogicalVolume *lv, G4String extraName="", G4VSolid *solid=0, G4Material *mate=0)
std::map< G4String, G4VPhysicalVolume * > thePhysVols
G4double approxTo0(G4double val)
std::map< G4String, G4Isotope * > theIsotopes
void DumpPVReplica(G4PVReplica *pv, const G4String &lvName)
std::map< G4String, G4LogicalVolume * > theLogVols
static const G4double ele