Geant4  10.07
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4tgrVolumeMgr Class Reference

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
 

Constructor & Destructor Documentation

G4tgrVolumeMgr ( )
private
~G4tgrVolumeMgr ( )
private

Member Function Documentation

static G4tgrVolumeMgr* GetInstance ( )
static
G4tgrSolid* CreateSolid ( const std::vector< G4String > &  wl,
G4bool  bVOLUtag 
)
void RegisterParentChild ( const G4String parentName,
const G4tgrPlace pl 
)
G4tgrSolid* FindSolid ( const G4String name,
G4bool  exists = false 
)
G4tgrVolume* FindVolume ( const G4String volname,
G4bool  exists = false 
)
std::vector<G4tgrVolume*> FindVolumes ( const G4String volname,
G4bool  exists 
)
const G4tgrVolume* GetTopVolume ( )
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)

References theG4tgrPlaceList.

void RegisterMe ( G4tgrIsotope iso)

References theHgIsotList.

void RegisterMe ( G4tgrElement ele)

References theHgElemList.

void RegisterMe ( G4tgrMaterial mat)

References theHgMateList.

void RegisterMe ( G4tgrRotationMatrix rm)

References theHgRotMList.

const G4mapssol& GetSolidMap ( )

References theG4tgrSolidMap.

const G4mapsvol& GetVolumeMap ( )

References theG4tgrVolumeMap.

const G4mmapspl& GetVolumeTree ( )

References theG4tgrVolumeTree.

std::vector<G4tgrVolume*> GetVolumeList ( )

References theG4tgrVolumeList.

std::vector<G4tgrPlace*> GetDetPlaceList ( )

References theG4tgrPlaceList.

std::vector<G4tgrIsotope*> GetIsotopeList ( )

References theHgIsotList.

std::vector<G4tgrElement*> GetElementList ( )

References theHgElemList.

std::vector<G4tgrMaterial*> GetMaterialList ( )

References theHgMateList.

std::vector<G4tgrRotationMatrix*> GetRotMList ( )

References theHgRotMList.

Member Data Documentation

G4mapssol theG4tgrSolidMap
private

Referenced by GetSolidMap().

G4mapsvol theG4tgrVolumeMap
private

Referenced by GetVolumeMap().

G4mmapspl theG4tgrVolumeTree
private

Referenced by GetVolumeTree().

G4ThreadLocal G4tgrVolumeMgr* theInstance
staticprivate
std::vector<G4tgrVolume*> theG4tgrVolumeList
private

Referenced by GetVolumeList().

std::vector<G4tgrPlace*> theG4tgrPlaceList
private

Referenced by GetDetPlaceList(), and RegisterMe().

std::vector<G4tgrIsotope*> theHgIsotList
private

Referenced by GetIsotopeList(), and RegisterMe().

std::vector<G4tgrElement*> theHgElemList
private

Referenced by GetElementList(), and RegisterMe().

std::vector<G4tgrMaterial*> theHgMateList
private

Referenced by GetMaterialList(), and RegisterMe().

std::vector<G4tgrRotationMatrix*> theHgRotMList
private

Referenced by GetRotMList(), and RegisterMe().