35#ifndef G4tgbVolumeMgr_hh
36#define G4tgbVolumeMgr_hh 1
52using G4mssvol = std::map<G4String, G4tgbVolume*>;
53using G4mmssol = std::multimap<G4String, G4VSolid*>;
54using G4mmslv = std::multimap<G4String, G4LogicalVolume*>;
55using G4mmspv = std::multimap<G4String, G4VPhysicalVolume*>;
56using G4mlvlv = std::map<G4LogicalVolume*, G4LogicalVolume*>;
57using G4mpvpv = std::map<G4VPhysicalVolume*, G4VPhysicalVolume*>;
97 const G4bool bExists =
false);
101 const G4bool bExists =
false);
122 const std::multimap<G4String, G4VSolid*>&
GetSolids()
const
128 theDetectorBuilder = db;
132 return theDetectorBuilder;
std::multimap< G4String, G4VSolid * > G4mmssol
std::map< G4VPhysicalVolume *, G4VPhysicalVolume * > G4mpvpv
std::map< G4String, G4tgbVolume * > G4mssvol
std::map< G4LogicalVolume *, G4LogicalVolume * > G4mlvlv
std::multimap< G4String, G4VPhysicalVolume * > G4mmspv
std::multimap< G4String, G4LogicalVolume * > G4mmslv
G4LogicalVolume * FindG4LogVol(const G4String &theName, const G4bool bExists=false)
G4tgbVolume * FindVolume(const G4String &volname)
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()
void SetDetectorBuilder(G4tgbDetectorBuilder *db)
G4LogicalVolume * GetTopLogVol()
void DumpG4LogVolLeaf(const G4LogicalVolume *lv, unsigned int leafDepth)
G4VPhysicalVolume * GetTopPhysVol()
void RegisterChildParentLVs(const G4LogicalVolume *logvol, const G4LogicalVolume *parentLV)
G4VPhysicalVolume * FindG4PhysVol(const G4String &theName, const G4bool bExists=false)