Geant4  10.01.p02
G4RegionStore Class Reference

#include <G4RegionStore.hh>

+ Inheritance diagram for G4RegionStore:
+ Collaboration diagram for G4RegionStore:

Public Member Functions

G4bool IsModified () const
 
void ResetRegionModified ()
 
void UpdateMaterialList (G4VPhysicalVolume *currentWorld=0)
 
G4RegionGetRegion (const G4String &name, G4bool verbose=true) const
 
G4RegionFindOrCreateRegion (const G4String &name)
 
void SetWorldVolume ()
 

Static Public Member Functions

static void Register (G4Region *pRegion)
 
static void DeRegister (G4Region *pRegion)
 
static G4RegionStoreGetInstance ()
 
static void SetNotifier (G4VStoreNotifier *pNotifier)
 
static void Clean ()
 

Protected Member Functions

 G4RegionStore ()
 
virtual ~G4RegionStore ()
 

Static Private Attributes

static G4RegionStorefgInstance = 0
 
static G4ThreadLocal
G4VStoreNotifier
fgNotifier = 0
 
static G4ThreadLocal G4bool locked = false
 

Detailed Description

Definition at line 63 of file G4RegionStore.hh.

Constructor & Destructor Documentation

G4RegionStore::G4RegionStore ( )
protected

Definition at line 58 of file G4RegionStore.cc.

G4RegionStore::~G4RegionStore ( )
protectedvirtual

Definition at line 68 of file G4RegionStore.cc.

References Clean().

+ Here is the call graph for this function:

Member Function Documentation

void G4RegionStore::Clean ( )
static

Definition at line 77 of file G4RegionStore.cc.

References fgNotifier, G4cout, G4endl, GetInstance(), G4GeometryManager::GetInstance(), locked, G4VNotifier::NotifyDeRegistration(), and pos.

Referenced by ~G4RegionStore().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RegionStore::DeRegister ( G4Region pRegion)
static

Definition at line 142 of file G4RegionStore.cc.

References fgNotifier, GetInstance(), locked, and G4VNotifier::NotifyDeRegistration().

Referenced by G4Region::~G4Region().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Region * G4RegionStore::FindOrCreateRegion ( const G4String name)

Definition at line 240 of file G4RegionStore.cc.

References GetRegion().

+ Here is the call graph for this function:

G4RegionStore * G4RegionStore::GetInstance ( void  )
static

Definition at line 162 of file G4RegionStore.cc.

References fgInstance.

Referenced by G4EmBiasingManager::ActivateForcedInteraction(), G4EmBiasingManager::ActivateSecondaryBiasing(), G4VEnergyLossProcess::ActivateSubCutoff(), G4ElectronCapture::BuildPhysicsTable(), ExTGRCRegionCutsMgr::BuildProductionCuts(), G4RunManagerKernel::CheckRegions(), Clean(), RE01DetectorConstruction::Construct(), Em10PhysicsList::ConstructEM(), Par01ParallelWorldForPion::ConstructSD(), Par01DetectorConstruction::ConstructSDandField(), G4TheRayTracer::CreateBitMap(), DeRegister(), G4RunManagerKernel::DumpRegion(), RE06RunAction::EndOfRunAction(), G4EmCalculator::FindCouple(), RE06SteppingVerbose::FindRegion(), G4EmConfigurator::FindRegion(), G4EmCalculator::FindRegion(), G4ProductionCutsTable::G4ProductionCutsTable(), G4Region::G4Region(), G4RunManagerKernel::G4RunManagerKernel(), G4VUserPhysicsList::GetCutValue(), GetRegion(), G4PAIPhotModel::Initialise(), G4PAIModel::Initialise(), G4EmModelManager::Initialise(), G4VAtomDeexcitation::InitialiseAtomicDeexcitation(), TrackingAction::Initialize(), RE06SteppingVerbose::InitializeTimers(), IsModified(), Register(), G4RunManager::ReinitializeGeometry(), RE06SteppingVerbose::Report(), ResetRegionModified(), HadrontherapyPhysicsList::SetCuts(), ExGflashPhysicsList::SetCuts(), exrdmPhysicsList::SetCuts(), Em10PhysicsList::SetCuts(), G4VUserPhysicsList::SetCutValue(), G4VAtomDeexcitation::SetDeexcitationActiveRegion(), IORTPhysicsList::SetDetectorCut(), SetNotifier(), G4VUserPhysicsList::SetParticleCuts(), GammaRayTelPhysicsList::SetRegionCut(), G4MaterialScanner::SetRegionName(), CexmcSetup::SetupSpecialVolumes(), SetWorldVolume(), G4GlobalFastSimulationManager::ShowSetup(), GammaRayTelDetectorConstruction::UpdateGeometry(), G4WorkerThread::UpdateGeometryAndPhysicsVectorFromMaster(), UpdateMaterialList(), G4RunManagerKernel::UpdateRegion(), and G4Region::~G4Region().

G4bool G4RegionStore::IsModified ( ) const

Definition at line 177 of file G4RegionStore.cc.

References GetInstance().

+ Here is the call graph for this function:

void G4RegionStore::Register ( G4Region pRegion)
static

Definition at line 132 of file G4RegionStore.cc.

References fgNotifier, GetInstance(), and G4VNotifier::NotifyRegistration().

Referenced by G4Region::G4Region().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RegionStore::ResetRegionModified ( )

Definition at line 191 of file G4RegionStore.cc.

References GetInstance().

+ Here is the call graph for this function:

void G4RegionStore::SetNotifier ( G4VStoreNotifier pNotifier)
static

Definition at line 122 of file G4RegionStore.cc.

References fgNotifier, and GetInstance().

+ Here is the call graph for this function:

void G4RegionStore::SetWorldVolume ( )

Definition at line 255 of file G4RegionStore.cc.

References G4PhysicalVolumeStore::GetInstance(), GetInstance(), and G4VPhysicalVolume::GetMotherLogical().

+ Here is the call graph for this function:

void G4RegionStore::UpdateMaterialList ( G4VPhysicalVolume currentWorld = 0)

Definition at line 203 of file G4RegionStore.cc.

References GetInstance().

Referenced by G4TheRayTracer::CreateBitMap(), GammaRayTelDetectorConstruction::UpdateGeometry(), and G4RunManagerKernel::UpdateRegion().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4RegionStore * G4RegionStore::fgInstance = 0
staticprivate

Definition at line 114 of file G4RegionStore.hh.

Referenced by GetInstance().

G4ThreadLocal G4VStoreNotifier * G4RegionStore::fgNotifier = 0
staticprivate

Definition at line 115 of file G4RegionStore.hh.

Referenced by Clean(), DeRegister(), Register(), and SetNotifier().

G4ThreadLocal G4bool G4RegionStore::locked = false
staticprivate

Definition at line 116 of file G4RegionStore.hh.

Referenced by Clean(), and DeRegister().


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