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/G4PhysicalVolumeStore.hh>
Public Member Functions | |
G4VPhysicalVolume * | GetVolume (const G4String &name, G4bool verbose=true, G4bool reverseSearch=false) const |
G4bool | IsMapValid () const |
void | SetMapValid (G4bool val) |
const std::map< G4String, std::vector< G4VPhysicalVolume * > > & | GetMap () const |
void | UpdateMap () |
virtual | ~G4PhysicalVolumeStore () |
G4PhysicalVolumeStore (const G4PhysicalVolumeStore &)=delete | |
G4PhysicalVolumeStore & | operator= (const G4PhysicalVolumeStore &)=delete |
Static Public Member Functions | |
static void | Register (G4VPhysicalVolume *pSolid) |
static void | DeRegister (G4VPhysicalVolume *pSolid) |
static G4PhysicalVolumeStore * | GetInstance () |
static void | SetNotifier (G4VStoreNotifier *pNotifier) |
static void | Clean () |
Protected Member Functions | |
G4PhysicalVolumeStore () | |
Private Attributes | |
std::map< G4String, std::vector< G4VPhysicalVolume * > > | bmap |
G4bool | mvalid = false |
Static Private Attributes | |
static G4PhysicalVolumeStore * | 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 54 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 54 of file G4PhysicalVolumeStore.hh
|
virtual |
Definition at line 66 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 66 of file G4PhysicalVolumeStore.cc
References Clean().
|
delete |
|
protected |
Definition at line 56 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 56 of file G4PhysicalVolumeStore.cc
|
static |
Definition at line 76 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 76 of file G4PhysicalVolumeStore.cc
References bmap, fgNotifier, GetInstance(), locked, mvalid, and pos().
Referenced by PHG4PhenixDetector::Construct(), and ~G4PhysicalVolumeStore().
|
static |
Definition at line 183 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 183 of file G4PhysicalVolumeStore.cc
References bmap, fgNotifier, GetInstance(), it, and locked.
|
static |
Definition at line 269 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 269 of file G4PhysicalVolumeStore.cc
References fgInstance.
Referenced by eASTDetectorConstruction::CheckOverlap(), Clean(), PHG4PhenixDetector::Construct(), DeRegister(), G4GDMLReadStructure::GetPhysvol(), GetVolume(), eASTDetectorConstruction::ListPhysVols(), Register(), SetNotifier(), and UpdateMap().
|
inline |
Definition at line 81 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 81 of file G4PhysicalVolumeStore.hh
References bmap.
G4VPhysicalVolume * G4PhysicalVolumeStore::GetVolume | ( | const G4String & | name, |
G4bool | verbose = true , |
||
G4bool | reverseSearch = false |
||
) | const |
Definition at line 227 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 227 of file G4PhysicalVolumeStore.cc
References bmap, GetInstance(), mvalid, pos(), and UpdateMap().
Referenced by G4GDMLReadStructure::GetPhysvol().
|
inline |
Definition at line 77 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 77 of file G4PhysicalVolumeStore.hh
References mvalid.
|
delete |
|
static |
Definition at line 159 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 159 of file G4PhysicalVolumeStore.cc
References bmap, fgNotifier, GetInstance(), it, and mvalid.
|
inline |
Definition at line 78 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 78 of file G4PhysicalVolumeStore.hh
References mvalid.
|
static |
Definition at line 122 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 122 of file G4PhysicalVolumeStore.cc
References fgNotifier, and GetInstance().
void G4PhysicalVolumeStore::UpdateMap | ( | ) |
Definition at line 132 of file G4PhysicalVolumeStore.cc.
View newest version in sPHENIX GitHub at line 132 of file G4PhysicalVolumeStore.cc
References bmap, GetInstance(), it, mvalid, and pos().
Referenced by GetVolume().
|
private |
Definition at line 103 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 103 of file G4PhysicalVolumeStore.hh
Referenced by Clean(), DeRegister(), GetMap(), GetVolume(), Register(), and UpdateMap().
|
staticprivate |
Definition at line 99 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 99 of file G4PhysicalVolumeStore.hh
Referenced by GetInstance().
|
staticprivate |
Definition at line 100 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 100 of file G4PhysicalVolumeStore.hh
Referenced by Clean(), DeRegister(), Register(), and SetNotifier().
|
staticprivate |
Definition at line 101 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 101 of file G4PhysicalVolumeStore.hh
Referenced by Clean(), and DeRegister().
|
private |
Definition at line 104 of file G4PhysicalVolumeStore.hh.
View newest version in sPHENIX GitHub at line 104 of file G4PhysicalVolumeStore.hh
Referenced by Clean(), GetVolume(), IsMapValid(), Register(), SetMapValid(), and UpdateMap().