Geant4-11
|
#include <G4tgrVolumeMgr.hh>
Static Public Member Functions | |
static G4tgrVolumeMgr * | GetInstance () |
Private Member Functions | |
G4tgrVolumeMgr () | |
~G4tgrVolumeMgr () | |
Private Attributes | |
std::vector< G4tgrPlace * > | theG4tgrPlaceList |
G4mapssol | theG4tgrSolidMap |
std::vector< G4tgrVolume * > | theG4tgrVolumeList |
G4mapsvol | theG4tgrVolumeMap |
G4mmapspl | theG4tgrVolumeTree |
std::vector< G4tgrElement * > | theHgElemList |
std::vector< G4tgrIsotope * > | theHgIsotList |
std::vector< G4tgrMaterial * > | theHgMateList |
std::vector< G4tgrRotationMatrix * > | theHgRotMList |
Static Private Attributes | |
static G4ThreadLocal G4tgrVolumeMgr * | theInstance = nullptr |
Definition at line 52 of file G4tgrVolumeMgr.hh.
|
private |
|
private |
Definition at line 50 of file G4tgrVolumeMgr.cc.
References theInstance.
G4tgrSolid * G4tgrVolumeMgr::CreateSolid | ( | const std::vector< G4String > & | wl, |
G4bool | bVOLUtag | ||
) |
Definition at line 66 of file G4tgrVolumeMgr.cc.
References FatalException, FindSolid(), and G4Exception().
Referenced by G4tgrVolume::G4tgrVolume(), and G4tgrLineProcessor::ProcessLine().
void G4tgrVolumeMgr::DumpSummary | ( | ) |
Definition at line 385 of file G4tgrVolumeMgr.cc.
References G4tgrMaterialFactory::DumpElementList(), G4tgrMaterialFactory::DumpIsotopeList(), G4tgrMaterialFactory::DumpMaterialList(), G4tgrRotationMatrixFactory::DumpRotmList(), DumpVolumeTree(), G4cout, G4endl, G4tgrMaterialFactory::GetElementList(), G4tgrMaterialFactory::GetInstance(), G4tgrRotationMatrixFactory::GetInstance(), G4tgrMaterialFactory::GetIsotopeList(), G4tgrMaterialFactory::GetMaterialList(), G4tgrVolume::GetName(), G4tgrRotationMatrixFactory::GetRotMatList(), GetTopVolume(), and theG4tgrVolumeMap.
void G4tgrVolumeMgr::DumpVolumeLeaf | ( | const G4tgrVolume * | vol, |
unsigned int | copyNo, | ||
unsigned int | leafDepth | ||
) |
Definition at line 357 of file G4tgrVolumeMgr.cc.
References DumpVolumeLeaf(), G4cout, G4endl, GetChildren(), G4tgrPlace::GetCopyNo(), G4tgrVolume::GetName(), and G4tgrPlace::GetVolume().
Referenced by DumpVolumeLeaf(), and DumpVolumeTree().
void G4tgrVolumeMgr::DumpVolumeTree | ( | ) |
Definition at line 347 of file G4tgrVolumeMgr.cc.
References DumpVolumeLeaf(), G4cout, G4endl, and GetTopVolume().
Referenced by DumpSummary().
G4tgrSolid * G4tgrVolumeMgr::FindSolid | ( | const G4String & | name, |
G4bool | exists = false |
||
) |
Definition at line 190 of file G4tgrVolumeMgr.cc.
References FatalException, G4cerr, G4endl, G4Exception(), and theG4tgrSolidMap.
Referenced by CreateSolid(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrSolidMultiUnion::G4tgrSolidMultiUnion(), G4tgrSolidScaled::G4tgrSolidScaled(), and G4tgrVolume::G4tgrVolume().
G4tgrVolume * G4tgrVolumeMgr::FindVolume | ( | const G4String & | volname, |
G4bool | exists = false |
||
) |
Definition at line 218 of file G4tgrVolumeMgr.cc.
References FatalException, G4cerr, G4endl, G4Exception(), JustWarning, and theG4tgrVolumeMap.
Referenced by G4tgrLineProcessor::FindVolume(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrSolidMultiUnion::G4tgrSolidMultiUnion(), G4tgrSolidScaled::G4tgrSolidScaled(), G4tgrVolumeDivision::G4tgrVolumeDivision(), and GetTopVolume().
std::vector< G4tgrVolume * > G4tgrVolumeMgr::FindVolumes | ( | const G4String & | volname, |
G4bool | exists | ||
) |
Definition at line 252 of file G4tgrVolumeMgr.cc.
References G4tgrUtils::AreWordsEquivalent(), FatalException, G4cerr, G4endl, G4Exception(), JustWarning, and theG4tgrVolumeMap.
Referenced by G4tgrLineProcessor::ProcessLine().
std::pair< G4mmapspl::iterator, G4mmapspl::iterator > G4tgrVolumeMgr::GetChildren | ( | const G4String & | name | ) |
Definition at line 339 of file G4tgrVolumeMgr.cc.
References G4InuclParticleNames::name(), and theG4tgrVolumeTree.
Referenced by G4tgbVolume::ConstructG4Volumes(), and DumpVolumeLeaf().
|
inline |
Definition at line 110 of file G4tgrVolumeMgr.hh.
References theG4tgrPlaceList.
|
inline |
Definition at line 112 of file G4tgrVolumeMgr.hh.
References theHgElemList.
|
static |
Definition at line 56 of file G4tgrVolumeMgr.cc.
References G4tgrVolumeMgr(), and theInstance.
Referenced by G4tgrVolume::AddPlace(), G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlaceParam(), G4tgrVolume::AddPlaceReplica(), G4tgbDetectorConstruction::Construct(), G4tgbVolume::ConstructG4Volumes(), G4tgbVolumeMgr::CopyVolumes(), G4tgrLineProcessor::G4tgrLineProcessor(), G4tgrSolid::G4tgrSolid(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrSolidMultiUnion::G4tgrSolidMultiUnion(), G4tgrSolidScaled::G4tgrSolidScaled(), G4tgrVolume::G4tgrVolume(), G4tgrVolumeDivision::G4tgrVolumeDivision(), and G4tgbDetectorBuilder::ReadDetector().
|
inline |
Definition at line 111 of file G4tgrVolumeMgr.hh.
References theHgIsotList.
|
inline |
Definition at line 113 of file G4tgrVolumeMgr.hh.
References theHgMateList.
|
inline |
Definition at line 114 of file G4tgrVolumeMgr.hh.
References theHgRotMList.
|
inline |
const G4tgrVolume * G4tgrVolumeMgr::GetTopVolume | ( | ) |
Definition at line 292 of file G4tgrVolumeMgr.cc.
References FindVolume(), G4cout, G4endl, G4Exception(), G4tgrVolume::GetName(), G4tgrVolume::GetPlacements(), G4tgrVolume::GetType(), G4tgrMessenger::GetVerboseLevel(), JustWarning, and theG4tgrVolumeMap.
Referenced by G4tgbDetectorConstruction::Construct(), DumpSummary(), DumpVolumeTree(), and G4tgbDetectorBuilder::ReadDetector().
|
inline |
Definition at line 109 of file G4tgrVolumeMgr.hh.
References theG4tgrVolumeList.
|
inline |
Definition at line 107 of file G4tgrVolumeMgr.hh.
References theG4tgrVolumeMap.
Referenced by G4tgbVolumeMgr::CopyVolumes().
|
inline |
|
inline |
|
inline |
Definition at line 99 of file G4tgrVolumeMgr.hh.
References theHgIsotList.
|
inline |
Definition at line 101 of file G4tgrVolumeMgr.hh.
References theHgMateList.
|
inline |
Definition at line 98 of file G4tgrVolumeMgr.hh.
References theG4tgrPlaceList.
|
inline |
Definition at line 102 of file G4tgrVolumeMgr.hh.
References theHgRotMList.
void G4tgrVolumeMgr::RegisterMe | ( | G4tgrSolid * | vol | ) |
Definition at line 114 of file G4tgrVolumeMgr.cc.
References FatalException, G4Exception(), G4tgrSolid::GetName(), and theG4tgrSolidMap.
Referenced by G4tgrSolid::G4tgrSolid(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrSolidMultiUnion::G4tgrSolidMultiUnion(), G4tgrSolidScaled::G4tgrSolidScaled(), and G4tgrLineProcessor::ProcessLine().
void G4tgrVolumeMgr::RegisterMe | ( | G4tgrVolume * | vol | ) |
Definition at line 143 of file G4tgrVolumeMgr.cc.
References FatalException, G4Exception(), G4tgrVolume::GetName(), theG4tgrVolumeList, and theG4tgrVolumeMap.
void G4tgrVolumeMgr::RegisterParentChild | ( | const G4String & | parentName, |
const G4tgrPlace * | pl | ||
) |
Definition at line 183 of file G4tgrVolumeMgr.cc.
References theG4tgrVolumeTree.
Referenced by G4tgrVolume::AddPlace(), G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlaceParam(), G4tgrVolume::AddPlaceReplica(), and G4tgrVolumeDivision::G4tgrVolumeDivision().
void G4tgrVolumeMgr::UnRegisterMe | ( | G4tgrSolid * | vol | ) |
Definition at line 127 of file G4tgrVolumeMgr.cc.
References FatalException, G4Exception(), G4tgrSolid::GetName(), and theG4tgrSolidMap.
void G4tgrVolumeMgr::UnRegisterMe | ( | G4tgrVolume * | vol | ) |
Definition at line 157 of file G4tgrVolumeMgr.cc.
References FatalException, G4Exception(), G4tgrVolume::GetName(), theG4tgrVolumeList, and theG4tgrVolumeMap.
|
private |
Definition at line 138 of file G4tgrVolumeMgr.hh.
Referenced by GetDetPlaceList(), and RegisterMe().
|
private |
Definition at line 123 of file G4tgrVolumeMgr.hh.
Referenced by FindSolid(), GetSolidMap(), RegisterMe(), and UnRegisterMe().
|
private |
Definition at line 137 of file G4tgrVolumeMgr.hh.
Referenced by GetVolumeList(), RegisterMe(), and UnRegisterMe().
|
private |
Definition at line 127 of file G4tgrVolumeMgr.hh.
Referenced by DumpSummary(), FindVolume(), FindVolumes(), GetTopVolume(), GetVolumeMap(), RegisterMe(), and UnRegisterMe().
|
private |
Definition at line 131 of file G4tgrVolumeMgr.hh.
Referenced by GetChildren(), GetVolumeTree(), and RegisterParentChild().
|
private |
Definition at line 140 of file G4tgrVolumeMgr.hh.
Referenced by GetElementList(), and RegisterMe().
|
private |
Definition at line 139 of file G4tgrVolumeMgr.hh.
Referenced by GetIsotopeList(), and RegisterMe().
|
private |
Definition at line 141 of file G4tgrVolumeMgr.hh.
Referenced by GetMaterialList(), and RegisterMe().
|
private |
Definition at line 142 of file G4tgrVolumeMgr.hh.
Referenced by GetRotMList(), and RegisterMe().
|
staticprivate |
Definition at line 135 of file G4tgrVolumeMgr.hh.
Referenced by GetInstance(), and ~G4tgrVolumeMgr().