Geant4-11
|
#include <G4tgbVolumeMgr.hh>
Static Public Member Functions | |
static G4tgbVolumeMgr * | GetInstance () |
Private Attributes | |
G4tgbDetectorBuilder * | theDetectorBuilder = nullptr |
G4mlvlv | theLVInvTree |
G4mmslv | theLVs |
G4mlvlv | theLVTree |
G4mpvpv | thePVInvTree |
G4mmspv | thePVs |
G4mpvpv | thePVTree |
G4mmssol | theSolids |
G4mssvol | theVolumeList |
Static Private Attributes | |
static G4ThreadLocal G4tgbVolumeMgr * | theInstance = nullptr |
Definition at line 59 of file G4tgbVolumeMgr.hh.
G4tgbVolumeMgr::G4tgbVolumeMgr | ( | ) |
Definition at line 51 of file G4tgbVolumeMgr.cc.
References G4ReflectionFactory::Instance(), mm, G4ReflectionFactory::SetScalePrecision(), and theDetectorBuilder.
Referenced by GetInstance().
G4tgbVolumeMgr::~G4tgbVolumeMgr | ( | ) |
Definition at line 60 of file G4tgbVolumeMgr.cc.
References theDetectorBuilder, and theInstance.
void G4tgbVolumeMgr::AddTextFile | ( | const G4String & | fname | ) |
Definition at line 77 of file G4tgbVolumeMgr.cc.
References G4tgrFileReader::AddTextFile(), test::fname, and G4tgrFileReader::GetInstance().
void G4tgbVolumeMgr::BuildPhysVolTree | ( | ) |
Definition at line 328 of file G4tgbVolumeMgr.cc.
void G4tgbVolumeMgr::CopyVolumes | ( | ) |
Definition at line 136 of file G4tgbVolumeMgr.cc.
References G4tgrVolumeMgr::GetInstance(), G4tgrVolumeMgr::GetVolumeMap(), and RegisterMe().
Referenced by G4tgbDetectorConstruction::Construct(), and G4tgbDetectorBuilder::ConstructDetector().
void G4tgbVolumeMgr::DumpG4LogVolLeaf | ( | const G4LogicalVolume * | lv, |
unsigned int | leafDepth | ||
) |
Definition at line 390 of file G4tgbVolumeMgr.cc.
References G4cout, G4endl, and G4LogicalVolume::GetName().
Referenced by DumpG4LogVolTree().
void G4tgbVolumeMgr::DumpG4LogVolTree | ( | ) |
Definition at line 380 of file G4tgbVolumeMgr.cc.
References DumpG4LogVolLeaf(), G4cout, G4endl, and GetTopLogVol().
Referenced by DumpSummary().
void G4tgbVolumeMgr::DumpG4PhysVolLeaf | ( | const G4VPhysicalVolume * | pv, |
unsigned int | leafDepth | ||
) |
Definition at line 424 of file G4tgbVolumeMgr.cc.
References G4cout, G4endl, and G4VPhysicalVolume::GetName().
Referenced by DumpG4PhysVolTree().
void G4tgbVolumeMgr::DumpG4PhysVolTree | ( | ) |
Definition at line 414 of file G4tgbVolumeMgr.cc.
References DumpG4PhysVolLeaf(), G4cout, G4endl, and GetTopPhysVol().
Referenced by DumpSummary().
void G4tgbVolumeMgr::DumpG4SolidList | ( | ) |
Definition at line 370 of file G4tgbVolumeMgr.cc.
References G4cout, G4endl, and theSolids.
Referenced by DumpSummary().
void G4tgbVolumeMgr::DumpSummary | ( | ) |
Definition at line 341 of file G4tgbVolumeMgr.cc.
References DumpG4LogVolTree(), DumpG4PhysVolTree(), DumpG4SolidList(), G4cout, G4endl, G4tgbMaterialMgr::GetG4ElementList(), G4tgbMaterialMgr::GetG4IsotopeList(), G4tgbMaterialMgr::GetG4MaterialList(), G4tgbRotationMatrixMgr::GetG4RotMatList(), G4tgbMaterialMgr::GetInstance(), G4tgbRotationMatrixMgr::GetInstance(), G4VPhysicalVolume::GetName(), GetTopPhysVol(), theLVs, thePVs, and theSolids.
G4LogicalVolume * G4tgbVolumeMgr::FindG4LogVol | ( | const G4String & | theName, |
const G4bool | bExists = false |
||
) |
Definition at line 226 of file G4tgbVolumeMgr.cc.
References FatalException, G4Exception(), G4InuclParticleNames::name(), and theLVs.
Referenced by G4tgbVolume::ConstructG4PhysVol(), and G4tgbVolume::ConstructG4Volumes().
G4VPhysicalVolume * G4tgbVolumeMgr::FindG4PhysVol | ( | const G4String & | theName, |
const G4bool | bExists = false |
||
) |
Definition at line 247 of file G4tgbVolumeMgr.cc.
References FatalException, G4Exception(), G4InuclParticleNames::name(), and thePVs.
Definition at line 166 of file G4tgbVolumeMgr.cc.
References G4cout, G4endl, G4tgrMessenger::GetVerboseLevel(), G4InuclParticleNames::name(), and theSolids.
Referenced by G4tgbVolume::FindOrConstructG4Solid().
G4tgbVolume * G4tgbVolumeMgr::FindVolume | ( | const G4String & | volname | ) |
Definition at line 149 of file G4tgbVolumeMgr.cc.
References FatalException, G4Exception(), and theVolumeList.
Referenced by G4tgbDetectorConstruction::Construct(), G4tgbDetectorBuilder::ConstructDetector(), G4tgbVolume::ConstructG4PhysVol(), and G4tgbVolume::ConstructG4Volumes().
|
inline |
Definition at line 130 of file G4tgbVolumeMgr.hh.
References theDetectorBuilder.
|
static |
Definition at line 67 of file G4tgbVolumeMgr.cc.
References G4tgbVolumeMgr(), and theInstance.
Referenced by G4tgbDetectorConstruction::Construct(), G4tgbDetectorBuilder::ConstructDetector(), G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), and G4tgbVolume::FindOrConstructG4Solid().
Definition at line 122 of file G4tgbVolumeMgr.hh.
References theSolids.
G4LogicalVolume * G4tgbVolumeMgr::GetTopLogVol | ( | ) |
Definition at line 285 of file G4tgbVolumeMgr.cc.
References FatalException, G4cout, G4endl, G4Exception(), G4LogicalVolume::GetName(), G4tgrMessenger::GetVerboseLevel(), and theLVInvTree.
Referenced by DumpG4LogVolTree(), and GetTopPhysVol().
G4VPhysicalVolume * G4tgbVolumeMgr::GetTopPhysVol | ( | ) |
Definition at line 268 of file G4tgbVolumeMgr.cc.
References G4cout, G4endl, G4LogicalVolume::GetName(), G4VPhysicalVolume::GetName(), GetTopLogVol(), G4tgrMessenger::GetVerboseLevel(), and thePVs.
Referenced by G4tgbDetectorBuilder::ConstructDetector(), DumpG4PhysVolTree(), and DumpSummary().
G4VPhysicalVolume * G4tgbVolumeMgr::ReadAndConstructDetector | ( | ) |
Definition at line 83 of file G4tgbVolumeMgr.cc.
References G4tgbDetectorBuilder::ConstructDetector(), G4tgbDetectorBuilder::ReadDetector(), and theDetectorBuilder.
void G4tgbVolumeMgr::RegisterChildParentLVs | ( | const G4LogicalVolume * | logvol, |
const G4LogicalVolume * | parentLV | ||
) |
Definition at line 126 of file G4tgbVolumeMgr.cc.
References theLVInvTree, and theLVTree.
Referenced by G4tgbVolume::ConstructG4Volumes().
void G4tgbVolumeMgr::RegisterMe | ( | const G4LogicalVolume * | lv | ) |
Definition at line 104 of file G4tgbVolumeMgr.cc.
References G4cout, G4endl, G4LogicalVolume::GetName(), G4tgrMessenger::GetVerboseLevel(), and theLVs.
void G4tgbVolumeMgr::RegisterMe | ( | const G4tgbVolume * | vol | ) |
Definition at line 90 of file G4tgbVolumeMgr.cc.
References G4tgbVolume::GetName(), and theVolumeList.
Referenced by G4tgbVolume::ConstructG4Volumes(), and CopyVolumes().
void G4tgbVolumeMgr::RegisterMe | ( | const G4VPhysicalVolume * | pv | ) |
Definition at line 119 of file G4tgbVolumeMgr.cc.
References G4VPhysicalVolume::GetName(), and thePVs.
void G4tgbVolumeMgr::RegisterMe | ( | const G4VSolid * | solid | ) |
Definition at line 97 of file G4tgbVolumeMgr.cc.
References G4VSolid::GetName(), and theSolids.
|
inline |
Definition at line 126 of file G4tgbVolumeMgr.hh.
References theDetectorBuilder.
|
private |
Definition at line 165 of file G4tgbVolumeMgr.hh.
Referenced by G4tgbVolumeMgr(), GetDetectorBuilder(), ReadAndConstructDetector(), SetDetectorBuilder(), and ~G4tgbVolumeMgr().
|
staticprivate |
Definition at line 137 of file G4tgbVolumeMgr.hh.
Referenced by GetInstance(), and ~G4tgbVolumeMgr().
|
private |
Definition at line 154 of file G4tgbVolumeMgr.hh.
Referenced by GetTopLogVol(), and RegisterChildParentLVs().
|
private |
Definition at line 146 of file G4tgbVolumeMgr.hh.
Referenced by DumpSummary(), FindG4LogVol(), and RegisterMe().
|
private |
Definition at line 151 of file G4tgbVolumeMgr.hh.
Referenced by RegisterChildParentLVs().
|
private |
Definition at line 161 of file G4tgbVolumeMgr.hh.
|
private |
Definition at line 148 of file G4tgbVolumeMgr.hh.
Referenced by DumpSummary(), FindG4PhysVol(), GetTopPhysVol(), and RegisterMe().
|
private |
Definition at line 158 of file G4tgbVolumeMgr.hh.
|
private |
Definition at line 143 of file G4tgbVolumeMgr.hh.
Referenced by DumpG4SolidList(), DumpSummary(), FindG4Solid(), GetSolids(), and RegisterMe().
|
private |
Definition at line 139 of file G4tgbVolumeMgr.hh.
Referenced by FindVolume(), and RegisterMe().