Geant4
10.02
|
#include <G4PhysicalVolumeStore.hh>
Public Member Functions | |
G4VPhysicalVolume * | GetVolume (const G4String &name, G4bool verbose=true) const |
virtual | ~G4PhysicalVolumeStore () |
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 () | |
Static Private Attributes | |
static G4PhysicalVolumeStore * | fgInstance = 0 |
static G4ThreadLocal G4VStoreNotifier * | fgNotifier = 0 |
static G4ThreadLocal G4bool | locked = false |
Definition at line 62 of file G4PhysicalVolumeStore.hh.
|
virtual |
Definition at line 65 of file G4PhysicalVolumeStore.cc.
References Clean().
|
protected |
Definition at line 55 of file G4PhysicalVolumeStore.cc.
|
static |
Definition at line 74 of file G4PhysicalVolumeStore.cc.
References fgNotifier, G4cout, G4endl, GetInstance(), G4GeometryManager::GetInstance(), locked, G4VNotifier::NotifyDeRegistration(), and pos.
Referenced by LXeDetectorConstruction::Construct(), F04DetectorConstruction::Construct(), WLSDetectorConstruction::Construct(), DetectorConstruction::ConstructCalorimeter(), F01DetectorConstruction::ConstructCalorimeter(), F02DetectorConstruction::ConstructCalorimeter(), ExN03DetectorConstruction::ConstructCalorimeter(), F03DetectorConstruction::ConstructCalorimeter(), Em10DetectorConstruction::ConstructDetectorXTR(), RMC01DetectorConstruction::ConstructSimpleGeometry(), DetectorConstruction::ConstructVolumes(), ElectronBenchmarkDetector::CreateGeometry(), DetectorConstruction::DefineVolumes(), G4RunManager::ReinitializeGeometry(), XrayFluoPlaneDetectorConstruction::UpdateGeometry(), XrayFluoMercuryDetectorConstruction::UpdateGeometry(), XrayFluoDetectorConstruction::UpdateGeometry(), and ~G4PhysicalVolumeStore().
|
static |
Definition at line 142 of file G4PhysicalVolumeStore.cc.
References fgNotifier, GetInstance(), G4VPhysicalVolume::GetMotherLogical(), locked, G4VNotifier::NotifyDeRegistration(), and G4LogicalVolume::RemoveDaughter().
Referenced by HadrontherapyDetectorROGeometry::UpdateROGeometry(), and G4VPhysicalVolume::~G4VPhysicalVolume().
|
static |
Definition at line 187 of file G4PhysicalVolumeStore.cc.
References fgInstance.
Referenced by G4AdjointCrossSurfChecker::AddanExtSurfaceOfAvolume(), G4AdjointCrossSurfChecker::AddaSphericalSurfaceWithCenterAtTheCenterOfAVolume(), HadrontherapyDetectorConstruction::CheckOverlaps(), Clean(), G4AdjointPosOnPhysVolGenerator::ComputeTransformationFromPhysVolToWorld(), DMXParticleSource::ConfineSourceToVolume(), G4SPSPosDistribution::ConfineSourceToVolume(), LXeDetectorConstruction::Construct(), F04DetectorConstruction::Construct(), WLSDetectorConstruction::Construct(), DetectorConstruction::ConstructCalorimeter(), F01DetectorConstruction::ConstructCalorimeter(), F02DetectorConstruction::ConstructCalorimeter(), ExN03DetectorConstruction::ConstructCalorimeter(), F03DetectorConstruction::ConstructCalorimeter(), Em10DetectorConstruction::ConstructDetectorXTR(), RMC01DetectorConstruction::ConstructSimpleGeometry(), DetectorConstruction::ConstructVolumes(), ElectronBenchmarkDetector::CreateGeometry(), G4AdjointPosOnPhysVolGenerator::DefinePhysicalVolume(), DetectorConstruction::DefineVolumes(), DeRegister(), G4GeometryWorkspace::DestroyWorkspace(), G4GlobalFastSimulationManager::DisplayRegion(), FFPrimaryGeneratorAction::GetNeutronSourceCenter(), DicomIntersectVolume::GetPhantomParam(), G4EnergySplitter::GetPhantomParam(), DicomIntersectVolume::GetPhysicalVolumes(), G4GDMLReadStructure::GetPhysvol(), G4tgbGeometryDumper::GetPVChildren(), G4tgbGeometryDumper::GetTopPhysVol(), GetVolume(), G4GeometryWorkspace::InitialisePhysicalVolumes(), CexmcSetup::ReadRightDetectors(), Register(), G4RunManager::ReinitializeGeometry(), SetNotifier(), G4RegionStore::SetWorldVolume(), G4GDMLRead::StripNames(), and HadrontherapyDetectorROGeometry::UpdateROGeometry().
G4VPhysicalVolume * G4PhysicalVolumeStore::GetVolume | ( | const G4String & | name, |
G4bool | verbose = true |
||
) | const |
Definition at line 165 of file G4PhysicalVolumeStore.cc.
References G4endl, G4Exception(), GetInstance(), JustWarning, and name.
Referenced by FFPrimaryGeneratorAction::GetNeutronSourceCenter(), G4GDMLReadStructure::GetPhysvol(), and HadrontherapyDetectorROGeometry::UpdateROGeometry().
|
static |
Definition at line 131 of file G4PhysicalVolumeStore.cc.
References fgNotifier, GetInstance(), and G4VNotifier::NotifyRegistration().
Referenced by G4VPhysicalVolume::G4VPhysicalVolume().
|
static |
Definition at line 121 of file G4PhysicalVolumeStore.cc.
References fgNotifier, and GetInstance().
|
staticprivate |
Definition at line 92 of file G4PhysicalVolumeStore.hh.
Referenced by GetInstance().
|
staticprivate |
Definition at line 93 of file G4PhysicalVolumeStore.hh.
Referenced by Clean(), DeRegister(), Register(), and SetNotifier().
|
staticprivate |
Definition at line 94 of file G4PhysicalVolumeStore.hh.
Referenced by Clean(), and DeRegister().