Geant4  10.00.p01
G4tgrVolumeMgr Class Reference

#include <G4tgrVolumeMgr.hh>

+ Collaboration diagram for G4tgrVolumeMgr:

Public Member Functions

G4tgrSolidCreateSolid (const std::vector< G4String > &wl, G4bool bVOLUtag)
 
void RegisterParentChild (const G4String &parentName, const G4tgrPlace *pl)
 
G4tgrSolidFindSolid (const G4String &name, G4bool exists=false)
 
G4tgrVolumeFindVolume (const G4String &volname, G4bool exists=false)
 
std::vector< G4tgrVolume * > FindVolumes (const G4String &volname, G4bool exists)
 
const G4tgrVolumeGetTopVolume ()
 
std::pair< G4mmapspl::iterator,
G4mmapspl::iterator > 
GetChildren (const G4String &name)
 
void DumpSummary ()
 
void DumpVolumeTree ()
 
void DumpVolumeLeaf (const G4tgrVolume *vol, unsigned int copyNo, unsigned int leafDepth)
 
void RegisterMe (G4tgrSolid *vol)
 
void UnRegisterMe (G4tgrSolid *vol)
 
void RegisterMe (G4tgrVolume *vol)
 
void UnRegisterMe (G4tgrVolume *vol)
 
void RegisterMe (G4tgrPlace *pl)
 
void RegisterMe (G4tgrIsotope *iso)
 
void RegisterMe (G4tgrElement *ele)
 
void RegisterMe (G4tgrMaterial *mat)
 
void RegisterMe (G4tgrRotationMatrix *rm)
 
const G4mapssolGetSolidMap ()
 
const G4mapsvolGetVolumeMap ()
 
const G4mmapsplGetVolumeTree ()
 
std::vector< G4tgrVolume * > GetVolumeList ()
 
std::vector< G4tgrPlace * > GetDetPlaceList ()
 
std::vector< G4tgrIsotope * > GetIsotopeList ()
 
std::vector< G4tgrElement * > GetElementList ()
 
std::vector< G4tgrMaterial * > GetMaterialList ()
 
std::vector
< G4tgrRotationMatrix * > 
GetRotMList ()
 

Static Public Member Functions

static G4tgrVolumeMgrGetInstance ()
 

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
 

Detailed Description

Definition at line 59 of file G4tgrVolumeMgr.hh.

Constructor & Destructor Documentation

G4tgrVolumeMgr::G4tgrVolumeMgr ( )
private

Definition at line 50 of file G4tgrVolumeMgr.cc.

Referenced by GetInstance().

+ Here is the caller graph for this function:

G4tgrVolumeMgr::~G4tgrVolumeMgr ( )
private

Definition at line 56 of file G4tgrVolumeMgr.cc.

References theInstance.

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrVolumeMgr::DumpVolumeTree ( )

Definition at line 351 of file G4tgrVolumeMgr.cc.

References DumpVolumeLeaf(), G4cout, G4endl, and GetTopVolume().

Referenced by DumpSummary().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

std::vector<G4tgrPlace*> G4tgrVolumeMgr::GetDetPlaceList ( )
inline

Definition at line 118 of file G4tgrVolumeMgr.hh.

References theG4tgrPlaceList.

std::vector<G4tgrElement*> G4tgrVolumeMgr::GetElementList ( )
inline

Definition at line 120 of file G4tgrVolumeMgr.hh.

References theHgElemList.

G4tgrVolumeMgr * G4tgrVolumeMgr::GetInstance ( void  )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector<G4tgrIsotope*> G4tgrVolumeMgr::GetIsotopeList ( )
inline

Definition at line 119 of file G4tgrVolumeMgr.hh.

References theHgIsotList.

std::vector<G4tgrMaterial*> G4tgrVolumeMgr::GetMaterialList ( )
inline

Definition at line 121 of file G4tgrVolumeMgr.hh.

References theHgMateList.

std::vector<G4tgrRotationMatrix*> G4tgrVolumeMgr::GetRotMList ( )
inline

Definition at line 122 of file G4tgrVolumeMgr.hh.

References theHgRotMList.

const G4mapssol& G4tgrVolumeMgr::GetSolidMap ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector<G4tgrVolume*> G4tgrVolumeMgr::GetVolumeList ( )
inline

Definition at line 117 of file G4tgrVolumeMgr.hh.

References theG4tgrVolumeList.

const G4mapsvol& G4tgrVolumeMgr::GetVolumeMap ( )
inline

Definition at line 115 of file G4tgrVolumeMgr.hh.

References theG4tgrVolumeMap.

Referenced by G4tgbVolumeMgr::CopyVolumes().

+ Here is the caller graph for this function:

const G4mmapspl& G4tgrVolumeMgr::GetVolumeTree ( )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrVolumeMgr::RegisterMe ( G4tgrVolume vol)

Definition at line 140 of file G4tgrVolumeMgr.cc.

References FatalException, G4Exception(), G4tgrVolume::GetName(), theG4tgrVolumeList, and theG4tgrVolumeMap.

+ Here is the call graph for this function:

void G4tgrVolumeMgr::RegisterMe ( G4tgrPlace pl)
inline

Definition at line 106 of file G4tgrVolumeMgr.hh.

References theG4tgrPlaceList.

void G4tgrVolumeMgr::RegisterMe ( G4tgrIsotope iso)
inline

Definition at line 107 of file G4tgrVolumeMgr.hh.

References theHgIsotList.

void G4tgrVolumeMgr::RegisterMe ( G4tgrElement ele)
inline

Definition at line 108 of file G4tgrVolumeMgr.hh.

References theHgElemList.

void G4tgrVolumeMgr::RegisterMe ( G4tgrMaterial mat)
inline

Definition at line 109 of file G4tgrVolumeMgr.hh.

References theHgMateList.

void G4tgrVolumeMgr::RegisterMe ( G4tgrRotationMatrix rm)
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().

+ Here is the caller graph for this function:

void G4tgrVolumeMgr::UnRegisterMe ( G4tgrSolid vol)

Definition at line 123 of file G4tgrVolumeMgr.cc.

References FatalException, G4Exception(), G4tgrSolid::GetName(), and theG4tgrSolidMap.

+ Here is the call graph for this function:

void G4tgrVolumeMgr::UnRegisterMe ( G4tgrVolume vol)

Definition at line 155 of file G4tgrVolumeMgr.cc.

References FatalException, G4Exception(), G4tgrVolume::GetName(), theG4tgrVolumeList, and theG4tgrVolumeMap.

+ Here is the call graph for this function:

Member Data Documentation

std::vector<G4tgrPlace*> G4tgrVolumeMgr::theG4tgrPlaceList
private

Definition at line 146 of file G4tgrVolumeMgr.hh.

Referenced by GetDetPlaceList(), and RegisterMe().

G4mapssol G4tgrVolumeMgr::theG4tgrSolidMap
private

Definition at line 131 of file G4tgrVolumeMgr.hh.

Referenced by FindSolid(), GetSolidMap(), RegisterMe(), and UnRegisterMe().

std::vector<G4tgrVolume*> G4tgrVolumeMgr::theG4tgrVolumeList
private

Definition at line 145 of file G4tgrVolumeMgr.hh.

Referenced by GetVolumeList(), RegisterMe(), and UnRegisterMe().

G4mapsvol G4tgrVolumeMgr::theG4tgrVolumeMap
private
G4mmapspl G4tgrVolumeMgr::theG4tgrVolumeTree
private

Definition at line 139 of file G4tgrVolumeMgr.hh.

Referenced by GetChildren(), GetVolumeTree(), and RegisterParentChild().

std::vector<G4tgrElement*> G4tgrVolumeMgr::theHgElemList
private

Definition at line 148 of file G4tgrVolumeMgr.hh.

Referenced by GetElementList(), and RegisterMe().

std::vector<G4tgrIsotope*> G4tgrVolumeMgr::theHgIsotList
private

Definition at line 147 of file G4tgrVolumeMgr.hh.

Referenced by GetIsotopeList(), and RegisterMe().

std::vector<G4tgrMaterial*> G4tgrVolumeMgr::theHgMateList
private

Definition at line 149 of file G4tgrVolumeMgr.hh.

Referenced by GetMaterialList(), and RegisterMe().

std::vector<G4tgrRotationMatrix*> G4tgrVolumeMgr::theHgRotMList
private

Definition at line 150 of file G4tgrVolumeMgr.hh.

Referenced by GetRotMList(), and RegisterMe().

G4ThreadLocal G4tgrVolumeMgr * G4tgrVolumeMgr::theInstance = 0
staticprivate

Definition at line 143 of file G4tgrVolumeMgr.hh.

Referenced by GetInstance(), and ~G4tgrVolumeMgr().


The documentation for this class was generated from the following files: