EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <east/blob/main/G4_Patches/G4.v11.0.p01/source/geometry/management/include/G4LogicalVolumeStore.hh>
Public Member Functions | |
G4LogicalVolume * | GetVolume (const G4String &name, G4bool verbose=true, G4bool reverseSearch=false) const |
G4bool | IsMapValid () const |
void | SetMapValid (G4bool val) |
const std::map< G4String, std::vector< G4LogicalVolume * > > & | GetMap () const |
void | UpdateMap () |
virtual | ~G4LogicalVolumeStore () |
G4LogicalVolumeStore (const G4LogicalVolumeStore &)=delete | |
G4LogicalVolumeStore & | operator= (const G4LogicalVolumeStore &)=delete |
Static Public Member Functions | |
static void | Register (G4LogicalVolume *pVolume) |
static void | DeRegister (G4LogicalVolume *pVolume) |
static G4LogicalVolumeStore * | GetInstance () |
static void | SetNotifier (G4VStoreNotifier *pNotifier) |
static void | Clean () |
Protected Member Functions | |
G4LogicalVolumeStore () | |
Private Attributes | |
std::map< G4String, std::vector< G4LogicalVolume * > > | bmap |
G4bool | mvalid = false |
Static Private Attributes | |
static G4LogicalVolumeStore * | fgInstance = nullptr |
static G4ThreadLocal G4VStoreNotifier * | fgNotifier = nullptr |
static G4ThreadLocal G4bool | locked = false |
Additional Inherited Members | |
Public Attributes inherited from std::vector< T > | |
T | elements |
STL member. | |
Definition at line 55 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 55 of file G4LogicalVolumeStore.hh
|
virtual |
Definition at line 65 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 65 of file G4LogicalVolumeStore.cc
References Clean().
|
delete |
|
protected |
Definition at line 55 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 55 of file G4LogicalVolumeStore.cc
|
static |
Definition at line 75 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 75 of file G4LogicalVolumeStore.cc
References bmap, fgNotifier, GetInstance(), locked, mvalid, and pos().
Referenced by PHG4PhenixDetector::Construct(), and ~G4LogicalVolumeStore().
|
static |
Definition at line 181 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 181 of file G4LogicalVolumeStore.cc
References bmap, fgNotifier, GetInstance(), it, and locked.
|
static |
Definition at line 265 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 265 of file G4LogicalVolumeStore.cc
References fgInstance.
Referenced by Clean(), PHG4PhenixDetector::Construct(), DeRegister(), eASTDetectorConstruction::GetMaterial(), G4GDMLReadStructure::GetVolume(), GetVolume(), eASTDetectorConstruction::ListLogVols(), Register(), eASTDetectorConstruction::SetMaterial(), SetNotifier(), and UpdateMap().
|
inline |
Definition at line 80 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 80 of file G4LogicalVolumeStore.hh
References bmap.
G4LogicalVolume * G4LogicalVolumeStore::GetVolume | ( | const G4String & | name, |
G4bool | verbose = true , |
||
G4bool | reverseSearch = false |
||
) | const |
Definition at line 223 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 223 of file G4LogicalVolumeStore.cc
References bmap, GetInstance(), mvalid, pos(), and UpdateMap().
Referenced by G4GDMLReadStructure::GetVolume().
|
inline |
Definition at line 76 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 76 of file G4LogicalVolumeStore.hh
References mvalid.
|
delete |
|
static |
Definition at line 158 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 158 of file G4LogicalVolumeStore.cc
References bmap, fgNotifier, GetInstance(), it, and mvalid.
|
inline |
Definition at line 77 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 77 of file G4LogicalVolumeStore.hh
References mvalid.
|
static |
Definition at line 121 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 121 of file G4LogicalVolumeStore.cc
References fgNotifier, and GetInstance().
void G4LogicalVolumeStore::UpdateMap | ( | ) |
Definition at line 131 of file G4LogicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 131 of file G4LogicalVolumeStore.cc
References bmap, GetInstance(), it, mvalid, and pos().
Referenced by GetVolume().
|
private |
Definition at line 102 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 102 of file G4LogicalVolumeStore.hh
Referenced by Clean(), DeRegister(), GetMap(), GetVolume(), Register(), and UpdateMap().
|
staticprivate |
Definition at line 98 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 98 of file G4LogicalVolumeStore.hh
Referenced by GetInstance().
|
staticprivate |
Definition at line 99 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 99 of file G4LogicalVolumeStore.hh
Referenced by Clean(), DeRegister(), Register(), and SetNotifier().
|
staticprivate |
Definition at line 100 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 100 of file G4LogicalVolumeStore.hh
Referenced by Clean(), and DeRegister().
|
private |
Definition at line 103 of file G4LogicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 103 of file G4LogicalVolumeStore.hh
Referenced by Clean(), GetVolume(), IsMapValid(), Register(), SetMapValid(), and UpdateMap().