Geant4
10.00.p02
|
#include <G4tgrVolumeMgr.hh>
Static Public Member Functions | |
static G4tgrVolumeMgr * | GetInstance () |
Private Member Functions | |
G4tgrVolumeMgr () | |
~G4tgrVolumeMgr () | |
Private Attributes | |
G4mapssol | theG4tgrSolidMap |
G4mapsvol | theG4tgrVolumeMap |
G4mmapspl | theG4tgrVolumeTree |
std::vector< G4tgrVolume * > | theG4tgrVolumeList |
std::vector< G4tgrPlace * > | theG4tgrPlaceList |
std::vector< G4tgrIsotope * > | theHgIsotList |
std::vector< G4tgrElement * > | theHgElemList |
std::vector< G4tgrMaterial * > | theHgMateList |
std::vector < G4tgrRotationMatrix * > | theHgRotMList |
Static Private Attributes | |
static G4ThreadLocal G4tgrVolumeMgr * | theInstance = 0 |
Definition at line 59 of file G4tgrVolumeMgr.hh.
|
private |
Definition at line 50 of file G4tgrVolumeMgr.cc.
Referenced by GetInstance().
|
private |
Definition at line 56 of file G4tgrVolumeMgr.cc.
References theInstance.
G4tgrSolid * G4tgrVolumeMgr::CreateSolid | ( | const std::vector< G4String > & | wl, |
G4bool | bVOLUtag | ||
) |
Definition at line 75 of file G4tgrVolumeMgr.cc.
References FatalException, FindSolid(), and G4Exception().
Referenced by G4tgrVolume::G4tgrVolume(), and G4tgrLineProcessor::ProcessLine().
void G4tgrVolumeMgr::DumpSummary | ( | ) |
Definition at line 392 of file G4tgrVolumeMgr.cc.
References G4tgrMaterialFactory::DumpElementList(), G4tgrMaterialFactory::DumpIsotopeList(), G4tgrMaterialFactory::DumpMaterialList(), G4tgrRotationMatrixFactory::DumpRotmList(), DumpVolumeTree(), G4cout, G4endl, G4tgrMaterialFactory::GetElementList(), G4tgrRotationMatrixFactory::GetInstance(), G4tgrMaterialFactory::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 362 of file G4tgrVolumeMgr.cc.
References G4cout, G4endl, GetChildren(), G4tgrPlace::GetCopyNo(), G4tgrVolume::GetName(), and G4tgrPlace::GetVolume().
Referenced by DumpVolumeTree().
void G4tgrVolumeMgr::DumpVolumeTree | ( | ) |
Definition at line 351 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 187 of file G4tgrVolumeMgr.cc.
References FatalException, G4cerr, G4endl, G4Exception(), and theG4tgrSolidMap.
Referenced by CreateSolid(), G4tgrSolidBoolean::G4tgrSolidBoolean(), and G4tgrVolume::G4tgrVolume().
G4tgrVolume * G4tgrVolumeMgr::FindVolume | ( | const G4String & | volname, |
G4bool | exists = false |
||
) |
Definition at line 217 of file G4tgrVolumeMgr.cc.
References FatalException, G4cerr, G4endl, G4Exception(), JustWarning, and theG4tgrVolumeMap.
Referenced by G4tgrLineProcessor::FindVolume(), G4tgrSolidBoolean::G4tgrSolidBoolean(), 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 342 of file G4tgrVolumeMgr.cc.
References theG4tgrVolumeTree.
Referenced by G4tgbVolume::ConstructG4Volumes(), and DumpVolumeLeaf().
|
inline |
Definition at line 118 of file G4tgrVolumeMgr.hh.
References theG4tgrPlaceList.
|
inline |
Definition at line 120 of file G4tgrVolumeMgr.hh.
References theHgElemList.
|
static |
Definition at line 63 of file G4tgrVolumeMgr.cc.
References G4tgrVolumeMgr(), and theInstance.
Referenced by G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlace(), G4tgrVolume::AddPlaceParam(), G4tgrVolume::AddPlaceReplica(), G4tgbDetectorConstruction::Construct(), G4tgbVolume::ConstructG4Volumes(), G4tgbVolumeMgr::CopyVolumes(), G4tgrLineProcessor::G4tgrLineProcessor(), G4tgrSolid::G4tgrSolid(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrVolume::G4tgrVolume(), G4tgrVolumeDivision::G4tgrVolumeDivision(), ExTGRCDetectorBuilder::ReadDetector(), and G4tgbDetectorBuilder::ReadDetector().
|
inline |
Definition at line 119 of file G4tgrVolumeMgr.hh.
References theHgIsotList.
|
inline |
Definition at line 121 of file G4tgrVolumeMgr.hh.
References theHgMateList.
|
inline |
Definition at line 122 of file G4tgrVolumeMgr.hh.
References theHgRotMList.
|
inline |
Definition at line 114 of file G4tgrVolumeMgr.hh.
References theG4tgrSolidMap.
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(), ExTGRCDetectorBuilder::ReadDetector(), and G4tgbDetectorBuilder::ReadDetector().
|
inline |
Definition at line 117 of file G4tgrVolumeMgr.hh.
References theG4tgrVolumeList.
|
inline |
Definition at line 115 of file G4tgrVolumeMgr.hh.
References theG4tgrVolumeMap.
Referenced by G4tgbVolumeMgr::CopyVolumes().
|
inline |
Definition at line 116 of file G4tgrVolumeMgr.hh.
References theG4tgrVolumeTree.
void G4tgrVolumeMgr::RegisterMe | ( | G4tgrSolid * | vol | ) |
Definition at line 109 of file G4tgrVolumeMgr.cc.
References FatalException, G4Exception(), G4tgrSolid::GetName(), and theG4tgrSolidMap.
Referenced by G4tgrSolid::G4tgrSolid(), G4tgrSolidBoolean::G4tgrSolidBoolean(), and G4tgrLineProcessor::ProcessLine().
void G4tgrVolumeMgr::RegisterMe | ( | G4tgrVolume * | vol | ) |
Definition at line 140 of file G4tgrVolumeMgr.cc.
References FatalException, G4Exception(), G4tgrVolume::GetName(), theG4tgrVolumeList, and theG4tgrVolumeMap.
|
inline |
Definition at line 106 of file G4tgrVolumeMgr.hh.
References theG4tgrPlaceList.
|
inline |
Definition at line 107 of file G4tgrVolumeMgr.hh.
References theHgIsotList.
|
inline |
Definition at line 108 of file G4tgrVolumeMgr.hh.
References theHgElemList.
|
inline |
Definition at line 109 of file G4tgrVolumeMgr.hh.
References theHgMateList.
|
inline |
Definition at line 110 of file G4tgrVolumeMgr.hh.
References theHgRotMList.
void G4tgrVolumeMgr::RegisterParentChild | ( | const G4String & | parentName, |
const G4tgrPlace * | pl | ||
) |
Definition at line 179 of file G4tgrVolumeMgr.cc.
References theG4tgrVolumeTree.
Referenced by G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlace(), G4tgrVolume::AddPlaceParam(), G4tgrVolume::AddPlaceReplica(), and G4tgrVolumeDivision::G4tgrVolumeDivision().
void G4tgrVolumeMgr::UnRegisterMe | ( | G4tgrSolid * | vol | ) |
Definition at line 123 of file G4tgrVolumeMgr.cc.
References FatalException, G4Exception(), G4tgrSolid::GetName(), and theG4tgrSolidMap.
void G4tgrVolumeMgr::UnRegisterMe | ( | G4tgrVolume * | vol | ) |
Definition at line 155 of file G4tgrVolumeMgr.cc.
References FatalException, G4Exception(), G4tgrVolume::GetName(), theG4tgrVolumeList, and theG4tgrVolumeMap.
|
private |
Definition at line 146 of file G4tgrVolumeMgr.hh.
Referenced by GetDetPlaceList(), and RegisterMe().
|
private |
Definition at line 131 of file G4tgrVolumeMgr.hh.
Referenced by FindSolid(), GetSolidMap(), RegisterMe(), and UnRegisterMe().
|
private |
Definition at line 145 of file G4tgrVolumeMgr.hh.
Referenced by GetVolumeList(), RegisterMe(), and UnRegisterMe().
|
private |
Definition at line 135 of file G4tgrVolumeMgr.hh.
Referenced by DumpSummary(), FindVolume(), FindVolumes(), GetTopVolume(), GetVolumeMap(), RegisterMe(), and UnRegisterMe().
|
private |
Definition at line 139 of file G4tgrVolumeMgr.hh.
Referenced by GetChildren(), GetVolumeTree(), and RegisterParentChild().
|
private |
Definition at line 148 of file G4tgrVolumeMgr.hh.
Referenced by GetElementList(), and RegisterMe().
|
private |
Definition at line 147 of file G4tgrVolumeMgr.hh.
Referenced by GetIsotopeList(), and RegisterMe().
|
private |
Definition at line 149 of file G4tgrVolumeMgr.hh.
Referenced by GetMaterialList(), and RegisterMe().
|
private |
Definition at line 150 of file G4tgrVolumeMgr.hh.
Referenced by GetRotMList(), and RegisterMe().
|
staticprivate |
Definition at line 143 of file G4tgrVolumeMgr.hh.
Referenced by GetInstance(), and ~G4tgrVolumeMgr().