Geant4  10.02
G4RunManager Class Reference

#include <G4RunManager.hh>

+ Inheritance diagram for G4RunManager:
+ Collaboration diagram for G4RunManager:

Public Types

enum  RMType { sequentialRM, masterRM, workerRM }
 

Public Member Functions

 G4RunManager ()
 
virtual ~G4RunManager ()
 
virtual void BeamOn (G4int n_event, const char *macroFile=0, G4int n_select=-1)
 
virtual void Initialize ()
 
virtual void DefineWorldVolume (G4VPhysicalVolume *worldVol, G4bool topologyIsChanged=true)
 
virtual void AbortRun (G4bool softAbort=false)
 
virtual void AbortEvent ()
 
virtual void InitializeGeometry ()
 
virtual void InitializePhysics ()
 
virtual G4bool ConfirmBeamOnCondition ()
 
virtual void RunInitialization ()
 
virtual void DoEventLoop (G4int n_event, const char *macroFile=0, G4int n_select=-1)
 
virtual void RunTermination ()
 
virtual void InitializeEventLoop (G4int n_event, const char *macroFile=0, G4int n_select=-1)
 
virtual void ProcessOneEvent (G4int i_event)
 
virtual void TerminateOneEvent ()
 
virtual void TerminateEventLoop ()
 
virtual G4EventGenerateEvent (G4int i_event)
 
virtual void AnalyzeEvent (G4Event *anEvent)
 
void DumpRegion (const G4String &rname) const
 
void DumpRegion (G4Region *region=0) const
 
virtual void rndmSaveThisRun ()
 
virtual void rndmSaveThisEvent ()
 
virtual void RestoreRandomNumberStatus (const G4String &fileN)
 
virtual void SetUserInitialization (G4VUserDetectorConstruction *userInit)
 
virtual void SetUserInitialization (G4VUserPhysicsList *userInit)
 
virtual void SetUserInitialization (G4VUserActionInitialization *userInit)
 
virtual void SetUserInitialization (G4UserWorkerInitialization *userInit)
 
virtual void SetUserInitialization (G4UserWorkerThreadInitialization *userInit)
 
virtual void SetUserAction (G4UserRunAction *userAction)
 
virtual void SetUserAction (G4VUserPrimaryGeneratorAction *userAction)
 
virtual void SetUserAction (G4UserEventAction *userAction)
 
virtual void SetUserAction (G4UserStackingAction *userAction)
 
virtual void SetUserAction (G4UserTrackingAction *userAction)
 
virtual void SetUserAction (G4UserSteppingAction *userAction)
 
const G4VUserDetectorConstructionGetUserDetectorConstruction () const
 
const G4VUserPhysicsListGetUserPhysicsList () const
 
const G4VUserActionInitializationGetUserActionInitialization () const
 
G4VUserActionInitializationGetNonConstUserActionInitialization () const
 
const G4UserWorkerInitializationGetUserWorkerInitialization () const
 
const
G4UserWorkerThreadInitialization
GetUserWorkerThreadInitialization () const
 
const G4UserRunActionGetUserRunAction () const
 
const
G4VUserPrimaryGeneratorAction
GetUserPrimaryGeneratorAction () const
 
const G4UserEventActionGetUserEventAction () const
 
const G4UserStackingActionGetUserStackingAction () const
 
const G4UserTrackingActionGetUserTrackingAction () const
 
const G4UserSteppingActionGetUserSteppingAction () const
 
void SetNumberOfAdditionalWaitingStacks (G4int iAdd)
 
const G4StringGetVersionString () const
 
void SetPrimaryTransformer (G4PrimaryTransformer *pt)
 
void StoreRandomNumberStatusToG4Event (G4int vl)
 
G4int GetFlagRandomNumberStatusToG4Event () const
 
void SetRandomNumberStore (G4bool flag)
 
G4bool GetRandomNumberStore () const
 
void SetRandomNumberStoreDir (const G4String &dir)
 
const G4StringGetRandomNumberStoreDir () const
 
const G4StringGetRandomNumberStatusForThisRun () const
 
const G4StringGetRandomNumberStatusForThisEvent () const
 
void SetRandomNumberStorePerEvent (G4bool flag)
 
G4bool GetRandomNumberStorePerEvent () const
 
void GeometryHasBeenModified (G4bool prop=true)
 
void ReinitializeGeometry (G4bool destroyFirst=false, G4bool prop=true)
 
void PhysicsHasBeenModified ()
 
void CutOffHasBeenModified ()
 
void ReOptimizeMotherOf (G4VPhysicalVolume *)
 
void ReOptimize (G4LogicalVolume *)
 
void SetVerboseLevel (G4int vl)
 
G4int GetVerboseLevel () const
 
G4int GetPrintProgress ()
 
void SetPrintProgress (G4int i)
 
void SetGeometryToBeOptimized (G4bool vl)
 
G4bool GetGeometryToBeOptimized ()
 
void SetNumberOfEventsToBeStored (G4int val)
 
const G4RunGetCurrentRun () const
 
G4RunGetNonConstCurrentRun () const
 
const G4EventGetCurrentEvent () const
 
const G4EventGetPreviousEvent (G4int i) const
 
void SetRunIDCounter (G4int i)
 
G4int GetNumberOfParallelWorld () const
 
void SetNumberOfEventsToBeProcessed (G4int val)
 
G4int GetNumberOfEventsToBeProcessed () const
 
G4int GetNumberOfSelectEvents () const
 
G4String GetSelectMacro () const
 
void SetDCtable (G4DCtable *DCtbl)
 
RMType GetRunManagerType () const
 
virtual void ConstructScoringWorlds ()
 
virtual void RestoreRndmEachEvent (G4bool)
 

Static Public Member Functions

static G4RunManagerGetRunManager ()
 
static G4bool IfGeometryHasBeenDestroyed ()
 

Protected Member Functions

void CleanUpPreviousEvents ()
 
void CleanUpUnnecessaryEvents (G4int keepNEvents)
 
void StackPreviousEvent (G4Event *anEvent)
 
 G4RunManager (RMType rmType)
 
virtual void StoreRNGStatus (const G4String &filenamePrefix)
 
void UpdateScoring ()
 
virtual void DeleteUserInitializations ()
 

Protected Attributes

G4RunManagerKernelkernel
 
G4EventManagereventManager
 
G4VUserDetectorConstructionuserDetector
 
G4VUserPhysicsListphysicsList
 
G4VUserActionInitializationuserActionInitialization
 
G4UserWorkerInitializationuserWorkerInitialization
 
G4UserWorkerThreadInitializationuserWorkerThreadInitialization
 
G4UserRunActionuserRunAction
 
G4VUserPrimaryGeneratorActionuserPrimaryGeneratorAction
 
G4UserEventActionuserEventAction
 
G4UserStackingActionuserStackingAction
 
G4UserTrackingActionuserTrackingAction
 
G4UserSteppingActionuserSteppingAction
 
G4bool geometryInitialized
 
G4bool physicsInitialized
 
G4bool runAborted
 
G4bool initializedAtLeastOnce
 
G4bool geometryToBeOptimized
 
G4int runIDCounter
 
G4int verboseLevel
 
G4int printModulo
 
G4Timertimer
 
G4DCtableDCtable
 
G4RuncurrentRun
 
G4EventcurrentEvent
 
std::list< G4Event * > * previousEvents
 
G4int n_perviousEventsToBeStored
 
G4int numberOfEventToBeProcessed
 
G4bool storeRandomNumberStatus
 
G4int storeRandomNumberStatusToG4Event
 
G4String randomNumberStatusDir
 
G4String randomNumberStatusForThisRun
 
G4String randomNumberStatusForThisEvent
 
G4bool rngStatusEventsFlag
 
G4VPhysicalVolumecurrentWorld
 
G4int nParallelWorlds
 
G4String msgText
 
G4int n_select_msg
 
G4int numberOfEventProcessed
 
G4String selectMacro
 
G4bool fakeRun
 
RMType runManagerType
 

Static Protected Attributes

static G4bool fGeometryHasBeenDestroyed = false
 

Private Member Functions

 G4RunManager (const G4RunManager &)
 
G4RunManageroperator= (const G4RunManager &)
 

Private Attributes

G4RunMessengerrunMessenger
 

Static Private Attributes

static G4ThreadLocal G4RunManagerfRunManager = 0
 

Detailed Description

Definition at line 138 of file G4RunManager.hh.

Member Enumeration Documentation

Enumerator
sequentialRM 
masterRM 
workerRM 

Definition at line 268 of file G4RunManager.hh.

Constructor & Destructor Documentation

G4RunManager::G4RunManager ( )
G4RunManager::G4RunManager ( RMType  rmType)
protected
G4RunManager::G4RunManager ( const G4RunManager )
inlineprivate

Definition at line 574 of file G4RunManager.hh.

Member Function Documentation

void G4RunManager::AbortEvent ( )
virtual

Reimplemented in G4MTRunManager.

Definition at line 624 of file G4RunManager.cc.

References G4EventManager::AbortCurrentEvent(), currentEvent, eventManager, G4cerr, G4endl, G4State_EventProc, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), and G4Event::SetEventAborted().

Referenced by export_G4RunManager(), G4ExceptionHandler::Notify(), and G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::AbortRun ( G4bool  softAbort = false)
virtual

Reimplemented in G4MTRunManager.

Definition at line 604 of file G4RunManager.cc.

References G4EventManager::AbortCurrentEvent(), currentEvent, eventManager, G4cerr, G4endl, G4State_EventProc, G4State_GeomClosed, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), runAborted, and G4Event::SetEventAborted().

Referenced by RMC01AnalysisManager::EndOfEvent(), export_G4RunManager(), CML2PrimaryGenerationAction::fillParticlesContainer(), G4ExceptionHandler::Notify(), and G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::AnalyzeEvent ( G4Event anEvent)
virtual

Definition at line 470 of file G4RunManager.cc.

References currentRun, G4VPersistencyManager::GetPersistencyManager(), G4Run::RecordEvent(), and G4VPersistencyManager::Store().

Referenced by CexmcRunManager::DoCommonEventLoop(), G4WorkerRunManager::ProcessOneEvent(), and ProcessOneEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::BeamOn ( G4int  n_event,
const char *  macroFile = 0,
G4int  n_select = -1 
)
virtual

Definition at line 262 of file G4RunManager.cc.

References ConfirmBeamOnCondition(), ConstructScoringWorlds(), DoEventLoop(), fakeRun, numberOfEventProcessed, numberOfEventToBeProcessed, RunInitialization(), and RunTermination().

Referenced by GammaKnifeController::BeamOn(), G4BlineTracer::ComputeBlines(), G4WorkerRunManager::DoWork(), export_G4RunManager(), G4MTRunManager::Initialize(), main(), G4AdjointSimManager::RunAdjointSimulation(), and G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::CleanUpPreviousEvents ( )
protected

Definition at line 491 of file G4RunManager.cc.

References previousEvents, and G4Event::ToBeKept().

Referenced by G4WorkerRunManager::RunInitialization(), RunInitialization(), and ~G4RunManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::CleanUpUnnecessaryEvents ( G4int  keepNEvents)
protected

Definition at line 510 of file G4RunManager.cc.

References G4Event::GetNumberOfGrips(), previousEvents, and G4Event::ToBeKept().

Referenced by RunTermination(), and StackPreviousEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4RunManager::ConfirmBeamOnCondition ( )
virtual

Definition at line 279 of file G4RunManager.cc.

References G4cerr, G4cout, G4endl, G4State_Idle, G4State_PreInit, geometryInitialized, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), Initialize(), initializedAtLeastOnce, physicsInitialized, and verboseLevel.

Referenced by BeamOn().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::ConstructScoringWorlds ( )
virtual

Reimplemented in G4WorkerRunManager, G4MTRunManager, and tbbWorkerRunManager.

Definition at line 726 of file G4RunManager.cc.

References G4ProcessManager::AddProcess(), G4VScoringMesh::Construct(), fGeometryHasBeenDestroyed, G4VScoringMesh::GeometryHasBeenDestroyed(), GeometryHasBeenModified(), G4ParticleTable::GetIterator(), G4ScoringManager::GetMesh(), G4ScoringManager::GetNumberOfMesh(), G4TransportationManager::GetParallelWorld(), G4VScoringMesh::GetParallelWorldProcess(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetProcessManager(), G4ScoringManager::GetScoringManagerIfExist(), G4TransportationManager::GetTransportationManager(), G4ScoringManager::GetWorldName(), idxAlongStep, idxAtRest, idxPostStep, G4ParallelWorldProcess::IsAtRestRequired(), G4TransportationManager::IsWorldExisting(), G4ParticleTableIterator< K, V >::reset(), G4VPhysicalVolume::SetName(), G4ParallelWorldProcess::SetParallelWorld(), G4VScoringMesh::SetParallelWorldProcess(), G4ProcessManager::SetProcessOrdering(), G4ProcessManager::SetProcessOrderingToSecond(), theParticleIterator, and G4ParticleTableIterator< K, V >::value().

Referenced by BeamOn(), G4MTRunManager::ConstructScoringWorlds(), and G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::CutOffHasBeenModified ( )
inline

Definition at line 468 of file G4RunManager.hh.

References G4cerr, and G4endl.

void G4RunManager::DefineWorldVolume ( G4VPhysicalVolume worldVol,
G4bool  topologyIsChanged = true 
)
virtual
void G4RunManager::DeleteUserInitializations ( )
protectedvirtual

Definition at line 227 of file G4RunManager.cc.

References G4cout, G4endl, physicsList, userActionInitialization, userDetector, userWorkerInitialization, userWorkerThreadInitialization, and verboseLevel.

Referenced by ~G4RunManager().

+ Here is the caller graph for this function:

void G4RunManager::DoEventLoop ( G4int  n_event,
const char *  macroFile = 0,
G4int  n_select = -1 
)
virtual

Reimplemented in CexmcRunManager, G4WorkerRunManager, ParRunManager, and ParRunManager.

Definition at line 360 of file G4RunManager.cc.

References InitializeEventLoop(), ProcessOneEvent(), runAborted, runManagerType, sequentialRM, TerminateEventLoop(), and TerminateOneEvent().

Referenced by BeamOn().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::DumpRegion ( const G4String rname) const

Definition at line 703 of file G4RunManager.cc.

References G4RunManagerKernel::DumpRegion(), and kernel.

Referenced by G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::DumpRegion ( G4Region region = 0) const

Definition at line 708 of file G4RunManager.cc.

References G4RunManagerKernel::DumpRegion(), and kernel.

+ Here is the call graph for this function:

G4Event * G4RunManager::GenerateEvent ( G4int  i_event)
virtual

Reimplemented in G4WorkerRunManager.

Definition at line 429 of file G4RunManager.cc.

References currentRun, FatalException, G4cout, G4endl, G4Exception(), G4VUserPrimaryGeneratorAction::GeneratePrimaries(), G4Event::GetEventID(), G4Run::GetRunID(), printModulo, randomNumberStatusForThisEvent, rngStatusEventsFlag, G4Event::SetRandomNumberStatus(), storeRandomNumberStatus, storeRandomNumberStatusToG4Event, StoreRNGStatus(), and userPrimaryGeneratorAction.

Referenced by CexmcRunManager::DoCommonEventLoop(), and ProcessOneEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::GeometryHasBeenModified ( G4bool  prop = true)

Definition at line 892 of file G4RunManager.cc.

References G4UImanager::ApplyCommand(), G4RunManagerKernel::GeometryHasBeenModified(), G4UImanager::GetUIpointer(), and kernel.

Referenced by ExExChDetectorConstruction::AddXtalTarget(), CML2PhantomConstruction::applyNewCentre(), ConstructScoringWorlds(), export_G4RunManager(), IORTGeometryController::registerGeometry(), CML2AcceleratorConstruction::rotateAccelerator(), DetectorConstruction::SetAbsLength(), GB03DetectorConstruction::SetAbsorberMaterial(), RE06DetectorConstruction::SetAbsorberMaterial(), B5DetectorConstruction::SetArmAngle(), DetectorConstruction::SetEcalLength(), DetectorConstruction::SetEcalWidth(), GB03DetectorConstruction::SetGapMaterial(), RE06DetectorConstruction::SetGapMaterial(), XrayFluoDetectorMessenger::SetNewValue(), DMXDetectorMessenger::SetNewValue(), XrayFluoMercuryDetectorMessenger::SetNewValue(), XrayFluoPlaneDetectorMessenger::SetNewValue(), G4RunMessenger::SetNewValue(), GB03DetectorConstruction::SetNumberOfLayers(), RE06DetectorConstruction::SetNumberOfLayers(), DetectorConstruction::SetPadLength(), DetectorConstruction::SetPadWidth(), ElectronBenchmarkDetector::SetPrimFoilThickness(), RE06DetectorConstruction::SetSerialGeometry(), DetectorConstruction::SetSizeX(), DetectorConstruction::SetSizeYZ(), DetectorConstruction::SetTallyPosition(), DetectorConstruction::SetTallySize(), DetectorConstruction::SetVertexLength(), ExExChDetectorConstruction::SetXtalAngle(), ExExChDetectorConstruction::SetXtalCellAngle(), ExExChDetectorConstruction::SetXtalCellSize(), ExExChDetectorConstruction::SetXtalCurvatureRadius(), ExExChDetectorConstruction::SetXtalMiller(), ExExChDetectorConstruction::SetXtalSize(), ExExChDetectorConstruction::SetXtalThermalVibrationAmplitude(), and GammaKnifeDetectorConstruction::UpdateHelmet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4Event* G4RunManager::GetCurrentEvent ( ) const
inline

Definition at line 521 of file G4RunManager.hh.

References currentEvent.

Referenced by Par02Output::CreateNtuples(), export_G4RunManager(), RE01StackingAction::GetCalCollection(), RE05StackingAction::GetCollection(), ExN04StackingAction::GetCollection(), G4DigiManager::GetDigiCollection(), G4DigiManager::GetHitsCollection(), WLSSteppingAction::saveRandomStatus(), and G4DigiManager::SetDigiCollection().

+ Here is the caller graph for this function:

G4int G4RunManager::GetFlagRandomNumberStatusToG4Event ( ) const
inline

Definition at line 396 of file G4RunManager.hh.

References storeRandomNumberStatusToG4Event.

Referenced by G4RunMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

G4bool G4RunManager::GetGeometryToBeOptimized ( )
inline

Definition at line 505 of file G4RunManager.hh.

References geometryToBeOptimized.

Referenced by export_G4RunManager().

+ Here is the caller graph for this function:

G4Run* G4RunManager::GetNonConstCurrentRun ( ) const
inline

Definition at line 517 of file G4RunManager.hh.

References currentRun.

Referenced by B4bEventAction::BeginOfEventAction(), B4bEventAction::EndOfEventAction(), EventAction::EndOfEventAction(), TargetSD::Initialize(), TrackingAction::PostUserTrackingAction(), and B4bSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

G4VUserActionInitialization* G4RunManager::GetNonConstUserActionInitialization ( ) const
inline

Definition at line 354 of file G4RunManager.hh.

References userActionInitialization.

Referenced by tbbTask::execute(), and G4MTRunManagerKernel::StartThread().

+ Here is the caller graph for this function:

G4int G4RunManager::GetNumberOfEventsToBeProcessed ( ) const
inline

Definition at line 549 of file G4RunManager.hh.

References numberOfEventToBeProcessed.

Referenced by G4VisManager::BeginOfRun(), G4WorkerRunManager::DoWork(), G4VisManager::EndOfEvent(), and G4VisManager::EndOfRun().

+ Here is the caller graph for this function:

G4int G4RunManager::GetNumberOfParallelWorld ( ) const
inline

Definition at line 545 of file G4RunManager.hh.

References nParallelWorlds.

G4int G4RunManager::GetNumberOfSelectEvents ( ) const
inline

Definition at line 551 of file G4RunManager.hh.

References n_select_msg.

Referenced by G4WorkerRunManager::DoWork(), and tbbTask::execute().

+ Here is the caller graph for this function:

const G4Event* G4RunManager::GetPreviousEvent ( G4int  i) const
inline

Definition at line 525 of file G4RunManager.hh.

Referenced by G4DigiManager::GetDigiCollection(), and G4DigiManager::GetHitsCollection().

+ Here is the caller graph for this function:

G4int G4RunManager::GetPrintProgress ( )
inline

Definition at line 491 of file G4RunManager.hh.

References printModulo.

Referenced by B5EventAction::EndOfEventAction(), B4bEventAction::EndOfEventAction(), B4dEventAction::EndOfEventAction(), B4aEventAction::EndOfEventAction(), B4cEventAction::EndOfEventAction(), F02EventAction::EndOfEventAction(), F01EventAction::EndOfEventAction(), F03EventAction::EndOfEventAction(), and G4RunMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

const G4String& G4RunManager::GetRandomNumberStatusForThisEvent ( ) const
inline

Definition at line 428 of file G4RunManager.hh.

References G4Exception(), JustWarning, and randomNumberStatusForThisEvent.

+ Here is the call graph for this function:

const G4String& G4RunManager::GetRandomNumberStatusForThisRun ( ) const
inline

Definition at line 426 of file G4RunManager.hh.

References randomNumberStatusForThisRun.

G4bool G4RunManager::GetRandomNumberStore ( ) const
inline

Definition at line 402 of file G4RunManager.hh.

References storeRandomNumberStatus.

Referenced by export_G4RunManager().

+ Here is the caller graph for this function:

const G4String& G4RunManager::GetRandomNumberStoreDir ( ) const
inline

Definition at line 424 of file G4RunManager.hh.

References randomNumberStatusDir.

Referenced by export_G4RunManager(), G4RunMessenger::GetCurrentValue(), and WLSSteppingAction::saveRandomStatus().

+ Here is the caller graph for this function:

G4bool G4RunManager::GetRandomNumberStorePerEvent ( ) const
inline

Definition at line 438 of file G4RunManager.hh.

References rngStatusEventsFlag.

G4RunManager * G4RunManager::GetRunManager ( )
static

Definition at line 79 of file G4RunManager.cc.

Referenced by GammaKnifePhysicsList::AddPhysicsList(), HadrontherapyPhysicsList::AddPhysicsList(), IORTPhysicsList::AddPhysicsList(), ExExChDetectorConstruction::AddXtalTarget(), CML2PhantomConstruction::applyNewCentre(), B2RunAction::B2RunAction(), B4bRunAction::B4bRunAction(), B4RunAction::B4RunAction(), B5EventAction::B5EventAction(), GammaKnifeController::BeamOn(), HadrontherapyInteractionParameters::BeamOn(), IORTInteractionParameters::BeamOn(), G4MPImanager::BeamOn(), RunAction::BeginMaster(), B4bEventAction::BeginOfEventAction(), DMXEventAction::BeginOfEventAction(), CexmcEventAction::BeginOfEventAction(), G4VisManager::BeginOfRun(), B3aRunAction::BeginOfRunAction(), ExN04RunAction::BeginOfRunAction(), RE01RunAction::BeginOfRunAction(), B3bRunAction::BeginOfRunAction(), B2RunAction::BeginOfRunAction(), HadrontherapyRunAction::BeginOfRunAction(), F04RunAction::BeginOfRunAction(), B1RunAction::BeginOfRunAction(), GammaKnifeRunAction::BeginOfRunAction(), FFRunAction::BeginOfRunAction(), DicomRunAction::BeginOfRunAction(), B1ConRunAction::BeginOfRunAction(), WLSRunAction::BeginOfRunAction(), ExG4RunAction01::BeginOfRunAction(), IORTRunAction::BeginOfRunAction(), TSRunAction::BeginOfRunAction(), PurgMagActionInitializer::Build(), XrayFluoActionInitializer::Build(), DetectorConstruction::BuildBoundingVolume(), CexmcChargeExchangeReconstructor::CexmcChargeExchangeReconstructor(), CexmcEnergyDepositDigitizer::CexmcEnergyDepositDigitizer(), CexmcReconstructor::CexmcReconstructor(), CexmcSteppingAction::CexmcSteppingAction(), CexmcTrackingAction::CexmcTrackingAction(), CexmcTrackPointsDigitizer::CexmcTrackPointsDigitizer(), BrachyDetectorConstructionI::CleanIodium(), BrachyDetectorConstructionIr::CleanIridium(), G4BlineTracer::ComputeBlines(), Construct(), pyExN03pl::Construct(), pyQgeom::Construct(), pyEMSTDpl::Construct(), pyExN01pl::Construct(), pyParticleGun::Construct(), pyMedicalBeam::Construct(), pyEZgeom::Construct(), CexmcSetup::Construct(), Par02Output::CreateNtuples(), G4AdjointSimManager::DefineUserActions(), IORTDetectorConstruction::DeleteDisc(), G4TrajectoriesModel::DescribeYourselfTo(), CexmcEnergyDepositDigitizer::Digitize(), G4VisManager::Draw(), DetectorConstruction::DrawAtoms_(), DetectorConstruction::DrawAtomsWithBounding_(), DetectorConstruction::DrawNucleotides_(), DetectorConstruction::DrawNucleotidesWithBounding_(), DetectorConstruction::DrawResidues_(), DetectorConstruction::DrawResiduesWithBounding_(), ElectronRunAction::ElectronRunAction(), RunAction::EndMaster(), RMC01AnalysisManager::EndOfEvent(), G4VisManager::EndOfEvent(), B5EventAction::EndOfEventAction(), B4bEventAction::EndOfEventAction(), EventAction::EndOfEventAction(), B4aEventAction::EndOfEventAction(), B4dEventAction::EndOfEventAction(), LXeEventAction::EndOfEventAction(), B4cEventAction::EndOfEventAction(), ExG4EventAction01::EndOfEventAction(), F01EventAction::EndOfEventAction(), F02EventAction::EndOfEventAction(), F03EventAction::EndOfEventAction(), G4VisManager::EndOfRun(), B3aRunAction::EndOfRunAction(), B3bRunAction::EndOfRunAction(), B1RunAction::EndOfRunAction(), B1ConRunAction::EndOfRunAction(), B01RunAction::EndOfRunAction(), B02RunAction::EndOfRunAction(), B03RunAction::EndOfRunAction(), RE02RunAction::EndOfRunAction(), ExExChRunAction::ExExChRunAction(), export_G4RunManager(), CML2PrimaryGenerationAction::fillParticlesContainer(), G4AdjointSimManager::G4AdjointSimManager(), G4DigiManager::G4DigiManager(), GammaRayTelAnalysis::GammaRayTelAnalysis(), GammaRayTelAnticoincidenceSD::GammaRayTelAnticoincidenceSD(), GammaRayTelCalorimeterSD::GammaRayTelCalorimeterSD(), GammaRayTelPrimaryGeneratorAction::GammaRayTelPrimaryGeneratorAction(), GammaRayTelTrackerSD::GammaRayTelTrackerSD(), UltraPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPrimaryGeneratorAction::GeneratePrimaries(), HepMCG4Interface::GeneratePrimaryVertex(), RE01StackingAction::GetCalCollection(), RE05StackingAction::GetCollection(), ExN04StackingAction::GetCollection(), G4WorkerRunManager::GetWorkerRunManager(), HadrontherapyLet::HadrontherapyLet(), TargetSD::Initialize(), G4ErrorRunManagerHelper::InitializePhysics(), RunAction::InitializeWorker(), CCalEndOfEventAction::instanciateSteppingAction(), CexmcProductionModel::IsGoodCandidateForAngularRange(), DetectorConstruction::LoadPDBfile(), G4ExceptionHandler::Notify(), G4VisCommandSceneAddEventID::EventID::operator()(), TrackingAction::PostUserTrackingAction(), RunAction::PrintRunInfo(), G4VSceneHandler::ProcessScene(), HadrontherapyGeometryController::registerGeometry(), IORTGeometryController::registerGeometry(), LaserDrivenBeamLine::RemoveESS(), LaserDrivenBeamLine::RemoveQuads(), G4EzWorld::Reset(), G4AdjointSimManager::ResetRestOfUserActions(), G4AdjointSimManager::ResetUserActions(), G4AdjointSimManager::ResetUserPrimaryRunAndStackingActions(), G4EzWorld::Resize(), CML2AcceleratorConstruction::rotateAccelerator(), G4AdjointSimManager::RunAdjointSimulation(), WLSSteppingAction::saveRandomStatus(), DetectorConstruction::SetAbsLength(), DetectorConstruction::SetAbsMaterial(), GB03DetectorConstruction::SetAbsorberMaterial(), RE06DetectorConstruction::SetAbsorberMaterial(), DetectorConstruction::SetAbsorberMaterial(), F03DetectorConstruction::SetAbsorberMaterial(), F01DetectorConstruction::SetAbsorberMaterial(), F02DetectorConstruction::SetAbsorberMaterial(), F03DetectorConstruction::SetAbsorberRadius(), F01DetectorConstruction::SetAbsorberRadius(), F02DetectorConstruction::SetAbsorberRadius(), DetectorConstruction::SetAbsorberThickness(), F03DetectorConstruction::SetAbsorberThickness(), F01DetectorConstruction::SetAbsorberThickness(), F02DetectorConstruction::SetAbsorberThickness(), F03DetectorConstruction::SetAbsorberZpos(), F01DetectorConstruction::SetAbsorberZpos(), F02DetectorConstruction::SetAbsorberZpos(), DetectorConstruction::SetAbsorMaterial(), DetectorConstruction::SetAbsorSizeYZ(), DetectorConstruction::SetAbsorThickness(), G4AdjointSimManager::SetAdjointActions(), G4AdjointSimManager::SetAdjointPrimaryRunAndStackingActions(), B5DetectorConstruction::SetArmAngle(), WLSDetectorConstruction::SetBarBase(), WLSDetectorConstruction::SetBarLength(), DetectorConstruction::SetCalorSizeYZ(), F04DetectorConstruction::SetCaptureMgntB1(), F04DetectorConstruction::SetCaptureMgntB2(), F04DetectorConstruction::SetCaptureMgntLength(), F04DetectorConstruction::SetCaptureMgntRadius(), WLSDetectorConstruction::SetClad1Radius(), WLSDetectorConstruction::SetClad2Radius(), WLSDetectorConstruction::SetCoatingRadius(), WLSDetectorConstruction::SetCoatingThickness(), DetectorConstruction::SetContainerMaterial(), LXeDetectorConstruction::SetDefaults(), F04DetectorConstruction::SetDegraderMaterial(), F04DetectorConstruction::SetDegraderPos(), F04DetectorConstruction::SetDegraderRadius(), F04DetectorConstruction::SetDegraderThickness(), DetectorConstruction::SetDetectorLength(), DetectorConstruction::SetDetectorMaterial(), DetectorConstruction::SetDetectorThickness(), LXeDetectorConstruction::SetDimensions(), IORTDetectorConstruction::SetDiscoMaterialIORT(), IORTDetectorConstruction::SetDiscoMaterialIORT1(), DetectorConstruction::SetEcalLength(), DetectorConstruction::SetEcalMaterial(), DetectorConstruction::SetEcalWidth(), ExExChPhysicsList::SetFilePotentialName(), LaserDrivenBeamLine::SetFirstCollimatorPositionZ(), LaserDrivenBeamLine::SetFirstCollimatorRadius(), LaserDrivenBeamLine::SetFirstCollimatorThickness(), PassiveProtonBeamLine::SetFirstScatteringFoilXSize(), WLSDetectorConstruction::SetGap(), GB03DetectorConstruction::SetGapMaterial(), RE06DetectorConstruction::SetGapMaterial(), DetectorConstruction::SetGapMaterial(), DetectorConstruction::SetGapThickness(), DetectorConstruction::SetGasMaterial(), WLSDetectorConstruction::SetHoleRadius(), LXeDetectorConstruction::SetHousingReflectivity(), LXeDetectorConstruction::SetHousingThickness(), PassiveProtonBeamLine::SetInnerRadiusFinalCollimator(), Collimator100BeamLine::SetInnerRadiusFinalCollimatorIORT(), Collimator40BeamLine::SetInnerRadiusFinalCollimatorIORT(), Collimator50BeamLine::SetInnerRadiusFinalCollimatorIORT(), Collimator60BeamLine::SetInnerRadiusFinalCollimatorIORT(), Collimator70BeamLine::SetInnerRadiusFinalCollimatorIORT(), Collimator80BeamLine::SetInnerRadiusFinalCollimatorIORT(), HistoManager::SetIonPhysics(), DetectorConstruction::SetLBining(), LXeDetectorConstruction::SetMainVolumeOn(), DetectorConstruction::SetMaterial(), DetectorConstruction::SetMethod(), WLSDetectorConstruction::SetMirror(), WLSDetectorConstruction::SetMirrorPolish(), WLSDetectorConstruction::SetMirrorReflectivity(), HadrontherapyModulator::SetModulatorAngle(), DetectorConstruction::SetNbOfAbsor(), DetectorConstruction::SetNbOfDivisions(), DetectorConstruction::SetNbOfLayers(), XrayFluoPhysicsListMessenger::SetNewValue(), DMXDetectorMessenger::SetNewValue(), G4GDMLMessenger::SetNewValue(), XrayFluoDetectorMessenger::SetNewValue(), XrayFluoMercuryDetectorMessenger::SetNewValue(), XrayFluoPlaneDetectorMessenger::SetNewValue(), CexmcParticleGunMessenger::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4AdjointSimMessenger::SetNewValue(), LXeDetectorConstruction::SetNFibers(), WLSDetectorConstruction::SetNumberOfCladding(), GB03DetectorConstruction::SetNumberOfLayers(), RE06DetectorConstruction::SetNumberOfLayers(), LXeDetectorConstruction::SetNX(), LXeDetectorConstruction::SetNY(), LXeDetectorConstruction::SetNZ(), Collimator70BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator100BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator60BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator40BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator80BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator50BeamLine::SetOuterRadiusFinalCollimatorIORT(), PassiveProtonBeamLine::SetOuterRadiusStopper(), DetectorConstruction::SetPadLength(), DetectorConstruction::SetPadWidth(), HadrontherapyDetectorConstruction::SetPhantomMaterial(), IORTDetectorConstruction::SetPhantomMaterial(), WLSDetectorConstruction::SetPhotonDetAlignment(), WLSDetectorConstruction::SetPhotonDetGeometry(), WLSDetectorConstruction::SetPhotonDetHalfLength(), WLSDetectorConstruction::SetPhotonDetPolish(), WLSDetectorConstruction::SetPhotonDetReflectivity(), LXeDetectorConstruction::SetPMTRadius(), ElectronBenchmarkDetector::SetPrimFoilMaterial(), ElectronBenchmarkDetector::SetPrimFoilThickness(), DetectorConstruction::SetRadius(), PassiveProtonBeamLine::SetRangeShifterXPosition(), PassiveProtonBeamLine::SetRangeShifterXSize(), DetectorConstruction::SetRBining(), G4AdjointSimManager::SetRestOfAdjointActions(), CCalPrimaryGeneratorAction::SetRunNo(), LXeEventAction::SetSaveThreshold(), LaserDrivenBeamLine::SetSecondCollimatorPositionZ(), LaserDrivenBeamLine::SetSecondCollimatorRadius(), LaserDrivenBeamLine::SetSecondCollimatorThickness(), PassiveProtonBeamLine::SetSecondScatteringFoilXSize(), RE06DetectorConstruction::SetSerialGeometry(), DetectorConstruction::SetSize(), DetectorConstruction::SetSizeX(), DetectorConstruction::SetSizeYZ(), LaserDrivenBeamLine::SetSlitHoleDimensionY(), LaserDrivenBeamLine::SetSlitHoleDimensionZ(), LaserDrivenBeamLine::SetSlitHolePositionZ(), LXeDetectorConstruction::SetSphereOn(), WLSDetectorConstruction::SetSurfaceRoughness(), DetectorConstruction::SetTallyMaterial(), DetectorConstruction::SetTallyPosition(), DetectorConstruction::SetTallySize(), DetectorConstruction::SetTarget1Material(), DetectorConstruction::SetTarget2Material(), F04DetectorConstruction::SetTargetAngle(), DetectorConstruction::SetTargetLength(), DetectorConstruction::SetTargetMaterial(), F04DetectorConstruction::SetTargetMaterial(), F04DetectorConstruction::SetTargetPos(), DetectorConstruction::SetTargetRadius(), F04DetectorConstruction::SetTargetRadius(), F04DetectorConstruction::SetTargetThickness(), LaserDrivenBeamLine::SetThicknessSlit(), DetectorConstruction::SetTrackingCut(), F04DetectorConstruction::SetTransferMgntB(), F04DetectorConstruction::SetTransferMgntLength(), F04DetectorConstruction::SetTransferMgntPos(), F04DetectorConstruction::SetTransferMgntRadius(), CexmcSetup::SetupSpecialVolumes(), G4VUserActionInitialization::SetUserAction(), DetectorConstruction::SetVertexLength(), WLSDetectorConstruction::SetWLSLength(), WLSDetectorConstruction::SetWLSRadius(), LXeDetectorConstruction::SetWLSSlabOn(), DetectorConstruction::SetWorldMaterial(), F03DetectorConstruction::SetWorldMaterial(), F02DetectorConstruction::SetWorldMaterial(), F01DetectorConstruction::SetWorldMaterial(), F04DetectorConstruction::SetWorldMaterial(), F03DetectorConstruction::SetWorldSizeR(), F01DetectorConstruction::SetWorldSizeR(), F02DetectorConstruction::SetWorldSizeR(), F04DetectorConstruction::SetWorldSizeR(), F03DetectorConstruction::SetWorldSizeZ(), F02DetectorConstruction::SetWorldSizeZ(), F01DetectorConstruction::SetWorldSizeZ(), F04DetectorConstruction::SetWorldSizeZ(), ExExChDetectorConstruction::SetXtalAngle(), ExExChDetectorConstruction::SetXtalCellAngle(), ExExChDetectorConstruction::SetXtalCellSize(), ExExChDetectorConstruction::SetXtalCurvatureRadius(), ExExChDetectorConstruction::SetXtalMaterial(), ExExChDetectorConstruction::SetXtalMiller(), ExExChDetectorConstruction::SetXtalSize(), ExExChDetectorConstruction::SetXtalThermalVibrationAmplitude(), WLSDetectorConstruction::SetXYRatio(), CCalSensAssign::stackingAction(), BrachyDetectorConstruction::SwitchBrachytherapicSeed(), ThrowExceptionIfProjectIsRead(), G4HumanPhantomEventAction::totalEventEnergyDeposit(), G4MPIsession::TryForcedTerminate(), IORTGeometryController::UpdateGeometry(), DetectorConstruction::UpdateGeometry(), ExN03DetectorConstruction::UpdateGeometry(), XrayFluoPlaneDetectorConstruction::UpdateGeometry(), XrayFluoMercuryDetectorConstruction::UpdateGeometry(), XrayFluoDetectorConstruction::UpdateGeometry(), Em10DetectorConstruction::UpdateGeometry(), GammaRayTelDetectorConstruction::UpdateGeometry(), HadrontherapyDetectorConstruction::UpdateGeometry(), IORTDetectorConstruction::UpdateGeometry(), GammaKnifeDetectorConstruction::UpdateHelmet(), CexmcEventAction::UpdateRunHits(), G4MPImanager::UpdateStatus(), OpNoviceSteppingAction::UserSteppingAction(), B4bSteppingAction::UserSteppingAction(), B1SteppingAction::UserSteppingAction(), HadrontherapySteppingAction::UserSteppingAction(), DMXSteppingAction::UserSteppingAction(), and G4Run::~G4Run().

RMType G4RunManager::GetRunManagerType ( ) const
inline

Definition at line 559 of file G4RunManager.hh.

References runManagerType.

Referenced by RunAction::BeginMaster(), RunAction::EndMaster(), G4RunMessenger::GetCurrentValue(), RunAction::PrintRunInfo(), G4RunMessenger::SetNewValue(), and G4Run::~G4Run().

+ Here is the caller graph for this function:

G4String G4RunManager::GetSelectMacro ( ) const
inline

Definition at line 553 of file G4RunManager.hh.

References selectMacro.

Referenced by G4WorkerRunManager::DoWork(), and tbbTask::execute().

+ Here is the caller graph for this function:

const G4VUserActionInitialization* G4RunManager::GetUserActionInitialization ( ) const
inline

Definition at line 352 of file G4RunManager.hh.

References userActionInitialization.

Referenced by tbbTask::execute(), and G4MTRunManagerKernel::StartThread().

+ Here is the caller graph for this function:

const G4UserEventAction* G4RunManager::GetUserEventAction ( ) const
inline

Definition at line 364 of file G4RunManager.hh.

References userEventAction.

Referenced by G4BlineTracer::ComputeBlines(), G4AdjointSimManager::DefineUserActions(), export_G4RunManager(), DMXSteppingAction::UserSteppingAction(), and G4RTWorkerInitialization::WorkerRunStart().

+ Here is the caller graph for this function:

const G4VUserPhysicsList* G4RunManager::GetUserPhysicsList ( ) const
inline

Definition at line 350 of file G4RunManager.hh.

References physicsList.

Referenced by CexmcSetup::Construct(), tbbTask::execute(), export_G4RunManager(), and G4MTRunManagerKernel::StartThread().

+ Here is the caller graph for this function:

const G4UserRunAction* G4RunManager::GetUserRunAction ( ) const
inline
const G4UserStackingAction* G4RunManager::GetUserStackingAction ( ) const
inline

Definition at line 366 of file G4RunManager.hh.

References userStackingAction.

Referenced by G4BlineTracer::ComputeBlines(), G4AdjointSimManager::DefineUserActions(), export_G4RunManager(), and G4RTWorkerInitialization::WorkerRunStart().

+ Here is the caller graph for this function:

const G4UserSteppingAction* G4RunManager::GetUserSteppingAction ( ) const
inline

Definition at line 370 of file G4RunManager.hh.

References userSteppingAction.

Referenced by G4BlineTracer::ComputeBlines(), G4AdjointSimManager::DefineUserActions(), export_G4RunManager(), CCalEndOfEventAction::instanciateSteppingAction(), and G4RTWorkerInitialization::WorkerRunStart().

+ Here is the caller graph for this function:

const G4UserTrackingAction* G4RunManager::GetUserTrackingAction ( ) const
inline

Definition at line 368 of file G4RunManager.hh.

References userTrackingAction.

Referenced by CexmcEventAction::BeginOfEventAction(), G4BlineTracer::ComputeBlines(), G4AdjointSimManager::DefineUserActions(), export_G4RunManager(), RunAction::InitializeWorker(), and G4RTWorkerInitialization::WorkerRunStart().

+ Here is the caller graph for this function:

const G4UserWorkerInitialization* G4RunManager::GetUserWorkerInitialization ( ) const
inline

Definition at line 356 of file G4RunManager.hh.

References userWorkerInitialization.

Referenced by tbbTask::execute(), G4WorkerRunManager::RunInitialization(), G4WorkerRunManager::RunTermination(), G4MTRunManagerKernel::StartThread(), and G4TheMTRayTracer::StoreUserActions().

+ Here is the caller graph for this function:

const G4UserWorkerThreadInitialization* G4RunManager::GetUserWorkerThreadInitialization ( ) const
inline

Definition at line 358 of file G4RunManager.hh.

References userWorkerThreadInitialization.

Referenced by tbbTask::execute(), G4WorkerRunManager::SetupDefaultRNGEngine(), and G4MTRunManagerKernel::StartThread().

+ Here is the caller graph for this function:

G4int G4RunManager::GetVerboseLevel ( ) const
inline

Definition at line 489 of file G4RunManager.hh.

References verboseLevel.

Referenced by export_G4RunManager(), and G4RunMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

const G4String& G4RunManager::GetVersionString ( ) const
inline

Definition at line 381 of file G4RunManager.hh.

References G4RunManagerKernel::GetVersionString().

Referenced by export_G4RunManager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4RunManager::IfGeometryHasBeenDestroyed ( )
static

Definition at line 71 of file G4RunManager.cc.

void G4RunManager::Initialize ( void  )
virtual

Reimplemented in G4MTRunManager.

Definition at line 554 of file G4RunManager.cc.

References G4cerr, G4endl, G4State_Idle, G4State_PreInit, geometryInitialized, G4StateManager::GetCurrentState(), G4StateManager::GetStateManager(), initializedAtLeastOnce, InitializeGeometry(), InitializePhysics(), and physicsInitialized.

Referenced by ConfirmBeamOnCondition(), export_G4RunManager(), G4MTRunManager::Initialize(), main(), G4RunMessenger::SetNewValue(), and G4MTRunManagerKernel::StartThread().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::InitializeEventLoop ( G4int  n_event,
const char *  macroFile = 0,
G4int  n_select = -1 
)
virtual

Reimplemented in G4MTRunManager.

Definition at line 376 of file G4RunManager.cc.

References msgText, n_select_msg, selectMacro, G4Timer::Start(), timer, and verboseLevel.

Referenced by G4WorkerRunManager::DoEventLoop(), and DoEventLoop().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::InitializeGeometry ( )
virtual

Reimplemented in G4WorkerRunManager.

Definition at line 570 of file G4RunManager.cc.

References G4VUserDetectorConstruction::Construct(), G4VUserDetectorConstruction::ConstructParallelGeometries(), G4VUserDetectorConstruction::ConstructParallelSD(), G4VUserDetectorConstruction::ConstructSDandField(), G4RunManagerKernel::DefineWorldVolume(), FatalException, G4cout, G4endl, G4Exception(), geometryInitialized, kernel, nParallelWorlds, G4RunManagerKernel::SetNumberOfParallelWorld(), userDetector, and verboseLevel.

Referenced by Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::InitializePhysics ( )
virtual

Definition at line 589 of file G4RunManager.cc.

References FatalException, G4Exception(), G4RunManagerKernel::InitializePhysics(), kernel, physicsInitialized, and physicsList.

Referenced by Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4RunManager& G4RunManager::operator= ( const G4RunManager )
inlineprivate

Definition at line 575 of file G4RunManager.hh.

void G4RunManager::PhysicsHasBeenModified ( )
inline

Definition at line 460 of file G4RunManager.hh.

References G4RunManagerKernel::PhysicsHasBeenModified().

Referenced by export_G4RunManager(), DetectorConstruction::SetAbsMaterial(), DetectorConstruction::SetAbsorberMaterial(), F03DetectorConstruction::SetAbsorberMaterial(), F01DetectorConstruction::SetAbsorberMaterial(), F02DetectorConstruction::SetAbsorberMaterial(), DetectorConstruction::SetAbsorMaterial(), DetectorConstruction::SetContainerMaterial(), F04DetectorConstruction::SetDegraderMaterial(), DetectorConstruction::SetDetectorMaterial(), DetectorConstruction::SetEcalMaterial(), ExExChPhysicsList::SetFilePotentialName(), DetectorConstruction::SetGapMaterial(), DetectorConstruction::SetGasMaterial(), HistoManager::SetIonPhysics(), XrayFluoPhysicsListMessenger::SetNewValue(), DMXDetectorMessenger::SetNewValue(), G4RunMessenger::SetNewValue(), ElectronBenchmarkDetector::SetPrimFoilMaterial(), DetectorConstruction::SetTallyMaterial(), DetectorConstruction::SetTarget1Material(), DetectorConstruction::SetTarget2Material(), DetectorConstruction::SetTargetMaterial(), F04DetectorConstruction::SetTargetMaterial(), DetectorConstruction::SetWorldMaterial(), F03DetectorConstruction::SetWorldMaterial(), F02DetectorConstruction::SetWorldMaterial(), F01DetectorConstruction::SetWorldMaterial(), F04DetectorConstruction::SetWorldMaterial(), ExExChDetectorConstruction::SetXtalMaterial(), and GammaRayTelDetectorConstruction::UpdateGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::ProcessOneEvent ( G4int  i_event)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 396 of file G4RunManager.cc.

References AnalyzeEvent(), G4UImanager::ApplyCommand(), currentEvent, eventManager, GenerateEvent(), G4UImanager::GetUIpointer(), msgText, n_select_msg, G4EventManager::ProcessOneEvent(), and UpdateScoring().

Referenced by DoEventLoop().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::ReinitializeGeometry ( G4bool  destroyFirst = false,
G4bool  prop = true 
)

Definition at line 906 of file G4RunManager.cc.

References G4UImanager::ApplyCommand(), G4PhysicalVolumeStore::Clean(), G4LogicalVolumeStore::Clean(), G4SolidStore::Clean(), G4TransportationManager::ClearParallelWorlds(), fGeometryHasBeenDestroyed, G4cout, G4endl, G4RunManagerKernel::GeometryHasBeenModified(), geometryInitialized, G4LogicalVolumeStore::GetInstance(), G4SolidStore::GetInstance(), G4PhysicalVolumeStore::GetInstance(), G4RegionStore::GetInstance(), G4GeometryManager::GetInstance(), G4TransportationManager::GetTransportationManager(), G4UImanager::GetUIpointer(), G4Threading::IsMasterThread(), kernel, G4GeometryManager::OpenGeometry(), and verboseLevel.

Referenced by DetectorConstruction::BuildBoundingVolume(), DetectorConstruction::DrawAtoms_(), DetectorConstruction::DrawAtomsWithBounding_(), DetectorConstruction::DrawNucleotides_(), DetectorConstruction::DrawNucleotidesWithBounding_(), DetectorConstruction::DrawResidues_(), DetectorConstruction::DrawResiduesWithBounding_(), DetectorConstruction::LoadPDBfile(), F03DetectorConstruction::SetAbsorberRadius(), F02DetectorConstruction::SetAbsorberRadius(), F01DetectorConstruction::SetAbsorberRadius(), DetectorConstruction::SetAbsorberThickness(), F03DetectorConstruction::SetAbsorberThickness(), F02DetectorConstruction::SetAbsorberThickness(), F01DetectorConstruction::SetAbsorberThickness(), F03DetectorConstruction::SetAbsorberZpos(), F01DetectorConstruction::SetAbsorberZpos(), F02DetectorConstruction::SetAbsorberZpos(), DetectorConstruction::SetAbsorSizeYZ(), DetectorConstruction::SetAbsorThickness(), WLSDetectorConstruction::SetBarBase(), WLSDetectorConstruction::SetBarLength(), DetectorConstruction::SetCalorSizeYZ(), F04DetectorConstruction::SetCaptureMgntB1(), F04DetectorConstruction::SetCaptureMgntB2(), F04DetectorConstruction::SetCaptureMgntLength(), F04DetectorConstruction::SetCaptureMgntRadius(), WLSDetectorConstruction::SetClad1Radius(), WLSDetectorConstruction::SetClad2Radius(), WLSDetectorConstruction::SetCoatingRadius(), WLSDetectorConstruction::SetCoatingThickness(), LXeDetectorConstruction::SetDefaults(), F04DetectorConstruction::SetDegraderPos(), F04DetectorConstruction::SetDegraderRadius(), F04DetectorConstruction::SetDegraderThickness(), DetectorConstruction::SetDetectorLength(), DetectorConstruction::SetDetectorThickness(), LXeDetectorConstruction::SetDimensions(), WLSDetectorConstruction::SetGap(), DetectorConstruction::SetGapThickness(), WLSDetectorConstruction::SetHoleRadius(), LXeDetectorConstruction::SetHousingReflectivity(), LXeDetectorConstruction::SetHousingThickness(), DetectorConstruction::SetLBining(), LXeDetectorConstruction::SetMainVolumeOn(), WLSDetectorConstruction::SetMirror(), WLSDetectorConstruction::SetMirrorPolish(), WLSDetectorConstruction::SetMirrorReflectivity(), DetectorConstruction::SetNbOfAbsor(), DetectorConstruction::SetNbOfDivisions(), DetectorConstruction::SetNbOfLayers(), G4GDMLMessenger::SetNewValue(), G4RunMessenger::SetNewValue(), LXeDetectorConstruction::SetNFibers(), WLSDetectorConstruction::SetNumberOfCladding(), LXeDetectorConstruction::SetNX(), LXeDetectorConstruction::SetNY(), LXeDetectorConstruction::SetNZ(), WLSDetectorConstruction::SetPhotonDetAlignment(), WLSDetectorConstruction::SetPhotonDetGeometry(), WLSDetectorConstruction::SetPhotonDetHalfLength(), WLSDetectorConstruction::SetPhotonDetPolish(), WLSDetectorConstruction::SetPhotonDetReflectivity(), LXeDetectorConstruction::SetPMTRadius(), DetectorConstruction::SetRadius(), DetectorConstruction::SetRBining(), DetectorConstruction::SetSize(), LXeDetectorConstruction::SetSphereOn(), WLSDetectorConstruction::SetSurfaceRoughness(), F04DetectorConstruction::SetTargetAngle(), DetectorConstruction::SetTargetLength(), F04DetectorConstruction::SetTargetPos(), DetectorConstruction::SetTargetRadius(), F04DetectorConstruction::SetTargetRadius(), F04DetectorConstruction::SetTargetThickness(), DetectorConstruction::SetTrackingCut(), F04DetectorConstruction::SetTransferMgntB(), F04DetectorConstruction::SetTransferMgntLength(), F04DetectorConstruction::SetTransferMgntPos(), F04DetectorConstruction::SetTransferMgntRadius(), WLSDetectorConstruction::SetWLSLength(), WLSDetectorConstruction::SetWLSRadius(), LXeDetectorConstruction::SetWLSSlabOn(), F03DetectorConstruction::SetWorldSizeR(), F01DetectorConstruction::SetWorldSizeR(), F02DetectorConstruction::SetWorldSizeR(), F04DetectorConstruction::SetWorldSizeR(), F03DetectorConstruction::SetWorldSizeZ(), F02DetectorConstruction::SetWorldSizeZ(), F01DetectorConstruction::SetWorldSizeZ(), F04DetectorConstruction::SetWorldSizeZ(), WLSDetectorConstruction::SetXYRatio(), XrayFluoPlaneDetectorConstruction::UpdateGeometry(), XrayFluoMercuryDetectorConstruction::UpdateGeometry(), XrayFluoDetectorConstruction::UpdateGeometry(), and GammaRayTelDetectorConstruction::UpdateGeometry().

+ Here is the call graph for this function:

void G4RunManager::ReOptimize ( G4LogicalVolume pLog)

Definition at line 810 of file G4RunManager.cc.

References G4cout, G4endl, G4LogicalVolume::GetName(), G4Timer::GetSystemElapsed(), G4Timer::GetUserElapsed(), G4LogicalVolume::GetVoxelHeader(), G4LogicalVolume::SetVoxelHeader(), G4Timer::Start(), G4Timer::Stop(), and verboseLevel.

Referenced by ReOptimizeMotherOf().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::ReOptimizeMotherOf ( G4VPhysicalVolume pPhys)

Definition at line 804 of file G4RunManager.cc.

References G4VPhysicalVolume::GetMotherLogical(), and ReOptimize().

+ Here is the call graph for this function:

void G4RunManager::RestoreRandomNumberStatus ( const G4String fileN)
virtual

Definition at line 689 of file G4RunManager.cc.

References G4cout, G4endl, G4String::index(), randomNumberStatusDir, and verboseLevel.

Referenced by export_G4RunManager(), and G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void G4RunManager::RestoreRndmEachEvent ( G4bool  )
inlinevirtual

Reimplemented in G4WorkerRunManager.

Definition at line 585 of file G4RunManager.hh.

Referenced by G4RunMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4RunManager::rndmSaveThisEvent ( )
virtual

Definition at line 668 of file G4RunManager.cc.

References G4UImanager::ApplyCommand(), currentEvent, currentRun, G4cerr, G4cout, G4endl, G4Event::GetEventID(), G4Run::GetRunID(), G4UImanager::GetUIpointer(), randomNumberStatusDir, storeRandomNumberStatus, and verboseLevel.

Referenced by LXeEventAction::EndOfEventAction(), export_G4RunManager(), and G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::rndmSaveThisRun ( )
virtual

Definition at line 646 of file G4RunManager.cc.

References G4UImanager::ApplyCommand(), currentRun, G4cerr, G4cout, G4endl, G4Run::GetRunID(), G4UImanager::GetUIpointer(), randomNumberStatusDir, storeRandomNumberStatus, and verboseLevel.

Referenced by export_G4RunManager(), and G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::RunTermination ( )
virtual

Reimplemented in G4MTRunManager, G4WorkerRunManager, and tbbMasterRunManager.

Definition at line 477 of file G4RunManager.cc.

References CleanUpUnnecessaryEvents(), currentRun, G4UserRunAction::EndOfRunAction(), fakeRun, G4VPersistencyManager::GetPersistencyManager(), kernel, runIDCounter, G4RunManagerKernel::RunTermination(), G4VPersistencyManager::Store(), and userRunAction.

Referenced by BeamOn(), G4WorkerRunManager::RunTermination(), and G4MTRunManager::RunTermination().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::SetDCtable ( G4DCtable DCtbl)
inline

Definition at line 555 of file G4RunManager.hh.

Referenced by G4DigiManager::AddNewModule().

+ Here is the caller graph for this function:

void G4RunManager::SetGeometryToBeOptimized ( G4bool  vl)
inline

Definition at line 496 of file G4RunManager.hh.

References G4RunManagerKernel::GeometryHasBeenModified(), and G4RunManagerKernel::SetGeometryToBeOptimized().

Referenced by G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::SetNumberOfAdditionalWaitingStacks ( G4int  iAdd)
inline

Definition at line 374 of file G4RunManager.hh.

References G4EventManager::SetNumberOfAdditionalWaitingStacks().

+ Here is the call graph for this function:

void G4RunManager::SetNumberOfEventsToBeProcessed ( G4int  val)
inline

Definition at line 547 of file G4RunManager.hh.

void G4RunManager::SetNumberOfEventsToBeStored ( G4int  val)
inline

Definition at line 509 of file G4RunManager.hh.

void G4RunManager::SetPrimaryTransformer ( G4PrimaryTransformer pt)
inline

Definition at line 384 of file G4RunManager.hh.

References G4RunManagerKernel::SetPrimaryTransformer().

+ Here is the call graph for this function:

void G4RunManager::SetPrintProgress ( G4int  i)
inline

Definition at line 493 of file G4RunManager.hh.

Referenced by B2RunAction::B2RunAction(), B4bRunAction::B4bRunAction(), B4RunAction::B4RunAction(), B5EventAction::B5EventAction(), TSRunAction::BeginOfRunAction(), ElectronRunAction::ElectronRunAction(), ExExChRunAction::ExExChRunAction(), and G4RunMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4RunManager::SetRandomNumberStoreDir ( const G4String dir)
inline

Definition at line 404 of file G4RunManager.hh.

References G4cerr, G4endl, G4Exception(), and JustWarning.

Referenced by F04RunAction::BeginOfRunAction(), WLSRunAction::BeginOfRunAction(), ExG4RunAction01::BeginOfRunAction(), export_G4RunManager(), G4RunMessenger::SetNewValue(), and LXeEventAction::SetSaveThreshold().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::SetRandomNumberStorePerEvent ( G4bool  flag)
inline

Definition at line 436 of file G4RunManager.hh.

Referenced by G4RunMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4RunManager::SetRunIDCounter ( G4int  i)
inline

Definition at line 539 of file G4RunManager.hh.

Referenced by export_G4RunManager(), G4MTRunManager::Initialize(), and CCalPrimaryGeneratorAction::SetRunNo().

+ Here is the caller graph for this function:

void G4RunManager::SetUserAction ( G4UserRunAction userAction)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 862 of file G4RunManager.cc.

References userRunAction.

Referenced by G4BlineTracer::ComputeBlines(), CCalEndOfEventAction::instanciateSteppingAction(), main(), G4VUserActionInitialization::SetUserAction(), G4WorkerRunManager::SetUserAction(), G4MTRunManager::SetUserAction(), and CCalSensAssign::stackingAction().

+ Here is the caller graph for this function:

void G4RunManager::SetUserAction ( G4VUserPrimaryGeneratorAction userAction)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 865 of file G4RunManager.cc.

References userPrimaryGeneratorAction.

void G4RunManager::SetUserAction ( G4UserEventAction userAction)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 868 of file G4RunManager.cc.

References eventManager, G4EventManager::SetUserAction(), and userEventAction.

+ Here is the call graph for this function:

void G4RunManager::SetUserAction ( G4UserStackingAction userAction)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 874 of file G4RunManager.cc.

References eventManager, G4EventManager::SetUserAction(), and userStackingAction.

+ Here is the call graph for this function:

void G4RunManager::SetUserAction ( G4UserTrackingAction userAction)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 880 of file G4RunManager.cc.

References eventManager, G4EventManager::SetUserAction(), and userTrackingAction.

+ Here is the call graph for this function:

void G4RunManager::SetUserAction ( G4UserSteppingAction userAction)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 886 of file G4RunManager.cc.

References eventManager, G4EventManager::SetUserAction(), and userSteppingAction.

+ Here is the call graph for this function:

void G4RunManager::SetUserInitialization ( G4VUserDetectorConstruction userInit)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 835 of file G4RunManager.cc.

References userDetector.

Referenced by main(), IORTGeometryController::registerGeometry(), XrayFluoSimulation::RunSimulation(), G4WorkerRunManager::SetUserInitialization(), and G4MTRunManager::SetUserInitialization().

+ Here is the caller graph for this function:

void G4RunManager::SetUserInitialization ( G4VUserPhysicsList userInit)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 838 of file G4RunManager.cc.

References kernel, physicsList, and G4RunManagerKernel::SetPhysics().

+ Here is the call graph for this function:

void G4RunManager::SetUserInitialization ( G4VUserActionInitialization userInit)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 856 of file G4RunManager.cc.

References G4VUserActionInitialization::Build(), and userActionInitialization.

+ Here is the call graph for this function:

void G4RunManager::SetUserInitialization ( G4UserWorkerInitialization userInit)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 844 of file G4RunManager.cc.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

void G4RunManager::SetUserInitialization ( G4UserWorkerThreadInitialization userInit)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 850 of file G4RunManager.cc.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

void G4RunManager::SetVerboseLevel ( G4int  vl)
inline

Definition at line 486 of file G4RunManager.hh.

References G4RunManagerKernel::SetVerboseLevel().

Referenced by export_G4RunManager(), and G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::StackPreviousEvent ( G4Event anEvent)
protected

Definition at line 539 of file G4RunManager.cc.

References CleanUpUnnecessaryEvents(), currentRun, G4Event::GetNumberOfGrips(), n_perviousEventsToBeStored, previousEvents, G4Run::StoreEvent(), and G4Event::ToBeKept().

Referenced by CexmcRunManager::DoCommonEventLoop(), and TerminateOneEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::StoreRandomNumberStatusToG4Event ( G4int  vl)
inline

Definition at line 387 of file G4RunManager.hh.

References G4EventManager::StoreRandomNumberStatusToG4Event().

Referenced by G4RunMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::StoreRNGStatus ( const G4String filenamePrefix)
protectedvirtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 464 of file G4RunManager.cc.

References randomNumberStatusDir.

Referenced by GenerateEvent(), and RunInitialization().

+ Here is the caller graph for this function:

void G4RunManager::TerminateEventLoop ( )
virtual

Reimplemented in G4WorkerRunManager.

Definition at line 412 of file G4RunManager.cc.

References fakeRun, fGeometryHasBeenDestroyed, G4cout, G4endl, numberOfEventProcessed, runAborted, G4Timer::Stop(), timer, and verboseLevel.

Referenced by DoEventLoop(), and G4MTRunManager::RunTermination().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::TerminateOneEvent ( )
virtual

Reimplemented in G4MTRunManager.

Definition at line 405 of file G4RunManager.cc.

References currentEvent, numberOfEventProcessed, and StackPreviousEvent().

Referenced by G4WorkerRunManager::DoEventLoop(), and DoEventLoop().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::UpdateScoring ( )
protected

Definition at line 782 of file G4RunManager.cc.

References G4ScoringManager::Accumulate(), currentEvent, G4HCofThisEvent::GetCapacity(), G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), G4ScoringManager::GetNumberOfMesh(), and G4ScoringManager::GetScoringManagerIfExist().

Referenced by CexmcRunManager::DoCommonEventLoop(), G4WorkerRunManager::ProcessOneEvent(), and ProcessOneEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4VPhysicalVolume* G4RunManager::currentWorld
protected

Definition at line 319 of file G4RunManager.hh.

G4DCtable* G4RunManager::DCtable
protected

Definition at line 303 of file G4RunManager.hh.

Referenced by G4WorkerRunManager::RunInitialization(), and RunInitialization().

G4ThreadLocal G4RunManager * G4RunManager::fRunManager = 0
staticprivate

Definition at line 148 of file G4RunManager.hh.

Referenced by G4RunManager(), and ~G4RunManager().

G4bool G4RunManager::geometryInitialized
protected
G4bool G4RunManager::geometryToBeOptimized
protected

Definition at line 297 of file G4RunManager.hh.

Referenced by GetGeometryToBeOptimized().

G4bool G4RunManager::initializedAtLeastOnce
protected

Definition at line 296 of file G4RunManager.hh.

Referenced by ConfirmBeamOnCondition(), and Initialize().

G4int G4RunManager::n_perviousEventsToBeStored
protected
G4int G4RunManager::nParallelWorlds
protected

Definition at line 321 of file G4RunManager.hh.

Referenced by GetNumberOfParallelWorld(), and InitializeGeometry().

G4int G4RunManager::numberOfEventToBeProcessed
protected
G4bool G4RunManager::physicsInitialized
protected

Definition at line 294 of file G4RunManager.hh.

Referenced by ConfirmBeamOnCondition(), Initialize(), and InitializePhysics().

G4String G4RunManager::randomNumberStatusForThisEvent
protected
G4String G4RunManager::randomNumberStatusForThisRun
protected
G4int G4RunManager::runIDCounter
protected
RMType G4RunManager::runManagerType
protected

Definition at line 563 of file G4RunManager.hh.

Referenced by DoEventLoop(), G4RunManager(), and GetRunManagerType().

G4RunMessenger* G4RunManager::runMessenger
private

Definition at line 290 of file G4RunManager.hh.

Referenced by G4RunManager(), and ~G4RunManager().

G4String G4RunManager::selectMacro
protected
G4int G4RunManager::storeRandomNumberStatusToG4Event
protected
G4UserEventAction* G4RunManager::userEventAction
protected
G4UserStackingAction* G4RunManager::userStackingAction
protected

Definition at line 285 of file G4RunManager.hh.

Referenced by GetUserStackingAction(), and SetUserAction().

G4UserSteppingAction* G4RunManager::userSteppingAction
protected

Definition at line 287 of file G4RunManager.hh.

Referenced by GetUserSteppingAction(), and SetUserAction().

G4UserTrackingAction* G4RunManager::userTrackingAction
protected

Definition at line 286 of file G4RunManager.hh.

Referenced by GetUserTrackingAction(), and SetUserAction().


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