41 #ifndef G4tgbVolumeMgr_h
42 #define G4tgbVolumeMgr_h
58 typedef std::map< G4String, G4tgbVolume* >
G4mssvol;
59 typedef std::multimap< G4String, G4VSolid* >
G4mmssol;
60 typedef std::multimap< G4String, G4LogicalVolume* >
G4mmslv;
61 typedef std::multimap< G4String, G4VPhysicalVolume* >
G4mmspv;
62 typedef std::map< G4LogicalVolume*, G4LogicalVolume* >
G4mlvlv;
63 typedef std::map< G4VPhysicalVolume*, G4VPhysicalVolume* >
G4mpvpv;
104 const G4bool bExists = 0 );
108 const G4bool bExists = 0 );
131 const std::multimap< G4String, G4VSolid* >&
GetSolids()
const
132 {
return theSolids; }
134 { theDetectorBuilder = db; }
136 {
return theDetectorBuilder; }
G4VSolid * FindG4Solid(const G4String &name)
std::multimap< G4String, G4LogicalVolume * > G4mmslv
void DumpG4PhysVolLeaf(const G4VPhysicalVolume *pv, unsigned int leafDepth)
void SetDetectorBuilder(G4tgbDetectorBuilder *db)
G4VPhysicalVolume * FindG4PhysVol(const G4String &theName, const G4bool bExists=0)
const std::multimap< G4String, G4VSolid * > & GetSolids() const
std::multimap< G4String, G4VSolid * > G4mmssol
G4VPhysicalVolume * ReadAndConstructDetector()
G4VPhysicalVolume * GetTopPhysVol()
std::multimap< G4String, G4VPhysicalVolume * > G4mmspv
void RegisterMe(const G4tgbVolume *vol)
void RegisterChildParentLVs(const G4LogicalVolume *logvol, const G4LogicalVolume *parentLV)
G4tgbVolume * FindVolume(const G4String &volname)
G4LogicalVolume * GetTopLogVol()
G4tgbDetectorBuilder * GetDetectorBuilder() const
void AddTextFile(const G4String &fname)
void DumpG4LogVolLeaf(const G4LogicalVolume *lv, unsigned int leafDepth)
std::map< G4LogicalVolume *, G4LogicalVolume * > G4mlvlv
std::map< G4String, G4tgbVolume * > G4mssvol
static G4tgbVolumeMgr * GetInstance()
std::map< G4VPhysicalVolume *, G4VPhysicalVolume * > G4mpvpv
G4LogicalVolume * FindG4LogVol(const G4String &theName, const G4bool bExists=0)