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