Geant4  10.00.p03
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 ()
 

Static Public Member Functions

static G4RunManagerGetRunManager ()
 

Protected Member Functions

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::vector< 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
 

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 266 of file G4RunManager.hh.

Constructor & Destructor Documentation

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

Definition at line 568 of file G4RunManager.hh.

Member Function Documentation

void G4RunManager::AbortEvent ( )
virtual

Reimplemented in G4MTRunManager.

Definition at line 571 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 551 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 456 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 254 of file G4RunManager.cc.

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4RunManager::ConfirmBeamOnCondition ( )
virtual

Definition at line 270 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::CutOffHasBeenModified ( )
inline

Definition at line 466 of file G4RunManager.hh.

References G4cerr, and G4endl.

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

Definition at line 587 of file G4RunManager.cc.

References G4RunManagerKernel::DefineWorldVolume(), and kernel.

Referenced by export_G4RunManager(), DetectorConstruction::SetMaterial(), DetectorConstruction::SetMethod(), G4GDMLMessenger::SetNewValue(), DetectorConstruction::UpdateGeometry(), ExN03DetectorConstruction::UpdateGeometry(), XrayFluoPlaneDetectorConstruction::UpdateGeometry(), XrayFluoMercuryDetectorConstruction::UpdateGeometry(), XrayFluoDetectorConstruction::UpdateGeometry(), Em10DetectorConstruction::UpdateGeometry(), and GammaRayTelDetectorConstruction::UpdateGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RunManager::DeleteUserInitializations ( )
protectedvirtual

Definition at line 219 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 348 of file G4RunManager.cc.

References InitializeEventLoop(), ProcessOneEvent(), runAborted, 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 650 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 655 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 415 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 831 of file G4RunManager.cc.

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

Referenced by CML2PhantomConstruction::applyNewCentre(), ConstructScoringWorlds(), export_G4RunManager(), HadrontherapyGeometryController::registerGeometry(), IORTGeometryController::registerGeometry(), CML2AcceleratorConstruction::rotateAccelerator(), DetectorConstruction::SetAbsLength(), RE06DetectorConstruction::SetAbsorberMaterial(), B5DetectorConstruction::SetArmAngle(), DetectorConstruction::SetContainerThickness(), DetectorConstruction::SetEcalLength(), DetectorConstruction::SetEcalWidth(), RE06DetectorConstruction::SetGapMaterial(), DetectorConstruction::SetGasRadius(), DetectorConstruction::SetGasThickness(), G4RunMessenger::SetNewValue(), RE06DetectorConstruction::SetNumberOfLayers(), DetectorConstruction::SetPadLength(), DetectorConstruction::SetPadWidth(), RE06DetectorConstruction::SetSerialGeometry(), DetectorConstruction::SetSizeX(), DetectorConstruction::SetSizeYZ(), DetectorConstruction::SetTallyPosition(), DetectorConstruction::SetTallySize(), DetectorConstruction::SetVertexLength(), 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 519 of file G4RunManager.hh.

References currentEvent.

Referenced by 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 394 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 503 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 515 of file G4RunManager.hh.

References currentRun.

Referenced by B4bEventAction::BeginOfEventAction(), B1EventAction::EndOfEventAction(), B4bEventAction::EndOfEventAction(), and B4bSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

G4VUserActionInitialization* G4RunManager::GetNonConstUserActionInitialization ( ) 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:

G4int G4RunManager::GetNumberOfEventsToBeProcessed ( ) const
inline

Definition at line 543 of file G4RunManager.hh.

References numberOfEventToBeProcessed.

Referenced by G4MTRunManagerKernel::StartThread().

+ Here is the caller graph for this function:

G4int G4RunManager::GetNumberOfParallelWorld ( ) const
inline

Definition at line 539 of file G4RunManager.hh.

References nParallelWorlds.

G4int G4RunManager::GetNumberOfSelectEvents ( ) const
inline

Definition at line 545 of file G4RunManager.hh.

References n_select_msg.

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

+ Here is the caller graph for this function:

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

Definition at line 523 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 489 of file G4RunManager.hh.

References printModulo.

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

+ Here is the caller graph for this function:

const G4String& G4RunManager::GetRandomNumberStatusForThisEvent ( ) const
inline

Definition at line 426 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 424 of file G4RunManager.hh.

References randomNumberStatusForThisRun.

G4bool G4RunManager::GetRandomNumberStore ( ) const
inline

Definition at line 400 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 422 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 436 of file G4RunManager.hh.

References rngStatusEventsFlag.

G4RunManager * G4RunManager::GetRunManager ( )
static

Definition at line 74 of file G4RunManager.cc.

Referenced by GammaKnifePhysicsList::AddPhysicsList(), HadrontherapyPhysicsList::AddPhysicsList(), IORTPhysicsList::AddPhysicsList(), CML2PhantomConstruction::applyNewCentre(), B2RunAction::B2RunAction(), B4bRunAction::B4bRunAction(), B4RunAction::B4RunAction(), B5EventAction::B5EventAction(), GammaKnifeController::BeamOn(), HadrontherapyInteractionParameters::BeamOn(), IORTInteractionParameters::BeamOn(), G4MPImanager::BeamOn(), RunAction::BeginMaster(), B4bEventAction::BeginOfEventAction(), CexmcEventAction::BeginOfEventAction(), ExN04RunAction::BeginOfRunAction(), RE01RunAction::BeginOfRunAction(), B3RunAction::BeginOfRunAction(), B2RunAction::BeginOfRunAction(), F04RunAction::BeginOfRunAction(), B1RunAction::BeginOfRunAction(), GammaKnifeRunAction::BeginOfRunAction(), B1ConRunAction::BeginOfRunAction(), DicomRunAction::BeginOfRunAction(), HadrontherapyRunAction::BeginOfRunAction(), WLSRunAction::BeginOfRunAction(), ExG4RunAction01::BeginOfRunAction(), IORTRunAction::BeginOfRunAction(), CexmcChargeExchangeReconstructor::CexmcChargeExchangeReconstructor(), CexmcEnergyDepositDigitizer::CexmcEnergyDepositDigitizer(), CexmcReconstructor::CexmcReconstructor(), CexmcSteppingAction::CexmcSteppingAction(), CexmcTrackingAction::CexmcTrackingAction(), CexmcTrackPointsDigitizer::CexmcTrackPointsDigitizer(), BrachyDetectorConstructionI::CleanIodium(), BrachyDetectorConstructionIr::CleanIridium(), G4BlineTracer::ComputeBlines(), Construct(), pyEMSTDpl::Construct(), pyExN01pl::Construct(), pyExN03pl::Construct(), pyQgeom::Construct(), pyParticleGun::Construct(), pyMedicalBeam::Construct(), pyEZgeom::Construct(), CexmcSetup::Construct(), RunAction::CreateFilePixels(), G4AdjointSimManager::DefineUserActions(), IORTDetectorConstruction::DeleteDisc(), CexmcEnergyDepositDigitizer::Digitize(), RunAction::EndMaster(), RMC01AnalysisManager::EndOfEvent(), G4VisManager::EndOfEvent(), B1EventAction::EndOfEventAction(), B5EventAction::EndOfEventAction(), B4bEventAction::EndOfEventAction(), B4aEventAction::EndOfEventAction(), B4dEventAction::EndOfEventAction(), B4cEventAction::EndOfEventAction(), LXeEventAction::EndOfEventAction(), ExG4EventAction01::EndOfEventAction(), G4VisManager::EndOfRun(), B3RunAction::EndOfRunAction(), B1RunAction::EndOfRunAction(), B1ConRunAction::EndOfRunAction(), B01RunAction::EndOfRunAction(), B02RunAction::EndOfRunAction(), B03RunAction::EndOfRunAction(), RE02RunAction::EndOfRunAction(), export_G4RunManager(), CML2PrimaryGenerationAction::fillParticlesContainer(), G4AdjointSimManager::G4AdjointSimManager(), G4DigiManager::G4DigiManager(), GammaRayTelAnticoincidenceSD::GammaRayTelAnticoincidenceSD(), GammaRayTelCalorimeterSD::GammaRayTelCalorimeterSD(), GammaRayTelPrimaryGeneratorAction::GammaRayTelPrimaryGeneratorAction(), GammaRayTelTrackerROGeometry::GammaRayTelTrackerROGeometry(), GammaRayTelTrackerSD::GammaRayTelTrackerSD(), UltraPrimaryGeneratorAction::GeneratePrimaries(), HepMCG4Interface::GeneratePrimaryVertex(), RE01StackingAction::GetCalCollection(), RE05StackingAction::GetCollection(), ExN04StackingAction::GetCollection(), G4WorkerRunManager::GetWorkerRunManager(), HadrontherapyLet::HadrontherapyLet(), G4ErrorRunManagerHelper::InitializePhysics(), RunAction::InitializeWorker(), CCalEndOfEventAction::instanciateSteppingAction(), CexmcProductionModel::IsGoodCandidateForAngularRange(), G4ExceptionHandler::Notify(), G4VisCommandSceneAddEventID::EventID::operator()(), RunAction::PrintRunInfo(), G4VSceneHandler::ProcessScene(), HadrontherapyGeometryController::registerGeometry(), IORTGeometryController::registerGeometry(), G4EzWorld::Reset(), G4AdjointSimManager::ResetRestOfUserActions(), G4AdjointSimManager::ResetUserActions(), G4AdjointSimManager::ResetUserPrimaryRunAndStackingActions(), G4EzWorld::Resize(), CML2AcceleratorConstruction::rotateAccelerator(), G4AdjointSimManager::RunAdjointSimulation(), WLSSteppingAction::saveRandomStatus(), DetectorConstruction::SetAbsLength(), DetectorConstruction::SetAbsMaterial(), RE06DetectorConstruction::SetAbsorberMaterial(), DetectorConstruction::SetAbsorberMaterial(), F03DetectorConstruction::SetAbsorberMaterial(), F01DetectorConstruction::SetAbsorberMaterial(), F02DetectorConstruction::SetAbsorberMaterial(), F03DetectorConstruction::SetAbsorberRadius(), F01DetectorConstruction::SetAbsorberRadius(), F02DetectorConstruction::SetAbsorberRadius(), DetectorConstruction::SetAbsorberSizeYZ(), DetectorConstruction::SetAbsorberThickness(), F03DetectorConstruction::SetAbsorberThickness(), F01DetectorConstruction::SetAbsorberThickness(), F02DetectorConstruction::SetAbsorberThickness(), DetectorConstruction::SetAbsorberXpos(), 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(), DetectorConstruction::SetContainerThickness(), LXeDetectorConstruction::SetDefaults(), F04DetectorConstruction::SetDegraderMaterial(), F04DetectorConstruction::SetDegraderPos(), F04DetectorConstruction::SetDegraderRadius(), F04DetectorConstruction::SetDegraderThickness(), LXeDetectorConstruction::SetDimensions(), IORTDetectorConstruction::SetDiscoMaterialIORT(), IORTDetectorConstruction::SetDiscoMaterialIORT1(), DetectorConstruction::SetEcalLength(), DetectorConstruction::SetEcalMaterial(), DetectorConstruction::SetEcalWidth(), PassiveProtonBeamLine::SetFirstScatteringFoilXSize(), WLSDetectorConstruction::SetGap(), RE06DetectorConstruction::SetGapMaterial(), DetectorConstruction::SetGapMaterial(), DetectorConstruction::SetGapThickness(), DetectorConstruction::SetGasMaterial(), DetectorConstruction::SetGasRadius(), DetectorConstruction::SetGasThickness(), 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(), G4GDMLMessenger::SetNewValue(), CexmcParticleGunMessenger::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4AdjointSimMessenger::SetNewValue(), LXeDetectorConstruction::SetNFibers(), WLSDetectorConstruction::SetNumberOfCladding(), RE06DetectorConstruction::SetNumberOfLayers(), LXeDetectorConstruction::SetNX(), LXeDetectorConstruction::SetNY(), LXeDetectorConstruction::SetNZ(), Collimator40BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator50BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator100BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator60BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator70BeamLine::SetOuterRadiusFinalCollimatorIORT(), Collimator80BeamLine::SetOuterRadiusFinalCollimatorIORT(), PassiveProtonBeamLine::SetOuterRadiusStopper(), DetectorConstruction::SetPadLength(), DetectorConstruction::SetPadWidth(), HadrontherapyDetectorConstruction::SetPhantomMaterial(), IORTDetectorConstruction::SetPhantomMaterial(), WLSDetectorConstruction::SetPhotonDetAlignment(), WLSDetectorConstruction::SetPhotonDetGeometry(), WLSDetectorConstruction::SetPhotonDetHalfLength(), WLSDetectorConstruction::SetPhotonDetPolish(), WLSDetectorConstruction::SetPhotonDetReflectivity(), LXeDetectorConstruction::SetPMTRadius(), PassiveProtonBeamLine::SetRangeShifterXPosition(), PassiveProtonBeamLine::SetRangeShifterXSize(), DetectorConstruction::SetRBining(), G4AdjointSimManager::SetRestOfAdjointActions(), CCalPrimaryGeneratorAction::SetRunNo(), LXeEventAction::SetSaveThreshold(), PassiveProtonBeamLine::SetSecondScatteringFoilXSize(), RE06DetectorConstruction::SetSerialGeometry(), DetectorConstruction::SetSize(), DetectorConstruction::SetSizeX(), DetectorConstruction::SetSizeYZ(), 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(), F04DetectorConstruction::SetTransferMgntB(), F04DetectorConstruction::SetTransferMgntLength(), F04DetectorConstruction::SetTransferMgntPos(), F04DetectorConstruction::SetTransferMgntRadius(), CexmcSetup::SetupSpecialVolumes(), G4VUserActionInitialization::SetUserAction(), DetectorConstruction::SetVertexLength(), WLSDetectorConstruction::SetWLSLength(), WLSDetectorConstruction::SetWLSRadius(), LXeDetectorConstruction::SetWLSSlabOn(), DetectorConstruction::SetWorldMaterial(), F03DetectorConstruction::SetWorldMaterial(), F01DetectorConstruction::SetWorldMaterial(), F02DetectorConstruction::SetWorldMaterial(), F04DetectorConstruction::SetWorldMaterial(), F03DetectorConstruction::SetWorldSizeR(), F01DetectorConstruction::SetWorldSizeR(), F02DetectorConstruction::SetWorldSizeR(), F04DetectorConstruction::SetWorldSizeR(), DetectorConstruction::SetWorldSizeX(), DetectorConstruction::SetWorldSizeYZ(), F03DetectorConstruction::SetWorldSizeZ(), F01DetectorConstruction::SetWorldSizeZ(), F02DetectorConstruction::SetWorldSizeZ(), F04DetectorConstruction::SetWorldSizeZ(), WLSDetectorConstruction::SetXYRatio(), CCalSensAssign::stackingAction(), BrachyDetectorConstruction::SwitchBrachytherapicSeed(), ThrowExceptionIfProjectIsRead(), G4HumanPhantomEventAction::totalEventEnergyDeposit(), G4MPIsession::TryForcedTerminate(), DetectorConstruction::UpdateGeometry(), IORTGeometryController::UpdateGeometry(), ExN03DetectorConstruction::UpdateGeometry(), ElectronBenchmarkDetector::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(), XrayTelSteppingAction::UserSteppingAction(), and G4Run::~G4Run().

RMType G4RunManager::GetRunManagerType ( ) const
inline

Definition at line 553 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 547 of file G4RunManager.hh.

References selectMacro.

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

+ Here is the caller graph for this function:

const G4VUserActionInitialization* G4RunManager::GetUserActionInitialization ( ) const
inline

Definition at line 350 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 362 of file G4RunManager.hh.

References userEventAction.

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

+ Here is the caller graph for this function:

const G4VUserPhysicsList* G4RunManager::GetUserPhysicsList ( ) const
inline

Definition at line 348 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 G4VUserPrimaryGeneratorAction* G4RunManager::GetUserPrimaryGeneratorAction ( ) const
inline
const G4UserRunAction* G4RunManager::GetUserRunAction ( ) const
inline

Definition at line 358 of file G4RunManager.hh.

References userRunAction.

Referenced by G4BlineTracer::ComputeBlines(), G4AdjointSimManager::DefineUserActions(), export_G4RunManager(), G4TheMTRayTracer::StoreUserActions(), G4HumanPhantomEventAction::totalEventEnergyDeposit(), XrayTelSteppingAction::UserSteppingAction(), and G4RTWorkerInitialization::WorkerRunStart().

+ Here is the caller graph for this function:

const G4UserStackingAction* G4RunManager::GetUserStackingAction ( ) const
inline

Definition at line 364 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 368 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 366 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 354 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 356 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 487 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 379 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:

void G4RunManager::Initialize ( void  )
virtual

Reimplemented in G4MTRunManager.

Definition at line 501 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 363 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 517 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

Reimplemented in G4MTRunManager.

Definition at line 536 of file G4RunManager.cc.

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

Referenced by Initialize(), and G4MTRunManager::InitializePhysics().

+ 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 569 of file G4RunManager.hh.

void G4RunManager::PhysicsHasBeenModified ( )
inline
void G4RunManager::ProcessOneEvent ( G4int  i_event)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 383 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 845 of file G4RunManager.cc.

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

Referenced by F03DetectorConstruction::SetAbsorberRadius(), F01DetectorConstruction::SetAbsorberRadius(), F02DetectorConstruction::SetAbsorberRadius(), DetectorConstruction::SetAbsorberSizeYZ(), DetectorConstruction::SetAbsorberThickness(), F03DetectorConstruction::SetAbsorberThickness(), F01DetectorConstruction::SetAbsorberThickness(), F02DetectorConstruction::SetAbsorberThickness(), DetectorConstruction::SetAbsorberXpos(), 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(), 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(), 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::SetRBining(), DetectorConstruction::SetSize(), LXeDetectorConstruction::SetSphereOn(), WLSDetectorConstruction::SetSurfaceRoughness(), F04DetectorConstruction::SetTargetAngle(), DetectorConstruction::SetTargetLength(), F04DetectorConstruction::SetTargetPos(), DetectorConstruction::SetTargetRadius(), F04DetectorConstruction::SetTargetRadius(), F04DetectorConstruction::SetTargetThickness(), F04DetectorConstruction::SetTransferMgntB(), F04DetectorConstruction::SetTransferMgntLength(), F04DetectorConstruction::SetTransferMgntPos(), F04DetectorConstruction::SetTransferMgntRadius(), WLSDetectorConstruction::SetWLSLength(), WLSDetectorConstruction::SetWLSRadius(), LXeDetectorConstruction::SetWLSSlabOn(), F03DetectorConstruction::SetWorldSizeR(), F02DetectorConstruction::SetWorldSizeR(), F01DetectorConstruction::SetWorldSizeR(), F04DetectorConstruction::SetWorldSizeR(), DetectorConstruction::SetWorldSizeX(), DetectorConstruction::SetWorldSizeYZ(), F03DetectorConstruction::SetWorldSizeZ(), F01DetectorConstruction::SetWorldSizeZ(), F02DetectorConstruction::SetWorldSizeZ(), F04DetectorConstruction::SetWorldSizeZ(), WLSDetectorConstruction::SetXYRatio(), and ElectronBenchmarkDetector::UpdateGeometry().

+ Here is the call graph for this function:

void G4RunManager::ReOptimize ( G4LogicalVolume pLog)

Definition at line 749 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 743 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 636 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:

void G4RunManager::rndmSaveThisEvent ( )
virtual

Definition at line 615 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 593 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::RunInitialization ( )
virtual

Reimplemented in G4WorkerRunManager.

Definition at line 302 of file G4RunManager.cc.

References G4UserRunAction::BeginOfRunAction(), currentRun, DCtable, fakeRun, G4cout, G4endl, G4UserRunAction::GenerateRun(), G4SDManager::GetHCtable(), G4Run::GetRunID(), G4SDManager::GetSDMpointerIfExist(), kernel, n_perviousEventsToBeStored, numberOfEventProcessed, numberOfEventToBeProcessed, previousEvents, printModulo, randomNumberStatusForThisRun, rngStatusEventsFlag, runAborted, runIDCounter, G4RunManagerKernel::RunInitialization(), G4Run::SetDCtable(), G4Run::SetHCtable(), G4Run::SetNumberOfEventToBeProcessed(), G4Run::SetRandomNumberStatus(), G4Run::SetRunID(), storeRandomNumberStatus, StoreRNGStatus(), userRunAction, and verboseLevel.

Referenced by BeamOn().

+ 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 463 of file G4RunManager.cc.

References currentRun, G4UserRunAction::EndOfRunAction(), fakeRun, G4VPersistencyManager::GetPersistencyManager(), kernel, n_perviousEventsToBeStored, previousEvents, runIDCounter, G4RunManagerKernel::RunTermination(), G4VPersistencyManager::Store(), G4Event::ToBeKept(), 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 549 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 494 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 372 of file G4RunManager.hh.

References G4EventManager::SetNumberOfAdditionalWaitingStacks().

+ Here is the call graph for this function:

void G4RunManager::SetNumberOfEventsToBeProcessed ( G4int  val)
inline

Definition at line 541 of file G4RunManager.hh.

void G4RunManager::SetNumberOfEventsToBeStored ( G4int  val)
inline

Definition at line 507 of file G4RunManager.hh.

void G4RunManager::SetPrimaryTransformer ( G4PrimaryTransformer pt)
inline

Definition at line 382 of file G4RunManager.hh.

References G4RunManagerKernel::SetPrimaryTransformer().

+ Here is the call graph for this function:

void G4RunManager::SetPrintProgress ( G4int  i)
inline

Definition at line 491 of file G4RunManager.hh.

Referenced by B2RunAction::B2RunAction(), B4bRunAction::B4bRunAction(), B4RunAction::B4RunAction(), B5EventAction::B5EventAction(), and G4RunMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4RunManager::SetRandomNumberStoreDir ( const G4String dir)
inline

Definition at line 402 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 434 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 533 of file G4RunManager.hh.

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

+ Here is the caller graph for this function:

void G4RunManager::SetUserAction ( G4VUserPrimaryGeneratorAction userAction)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 804 of file G4RunManager.cc.

References userPrimaryGeneratorAction.

void G4RunManager::SetUserAction ( G4UserEventAction userAction)
virtual

Reimplemented in G4MTRunManager, and G4WorkerRunManager.

Definition at line 807 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 813 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 819 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 825 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 774 of file G4RunManager.cc.

References userDetector.

Referenced by main(), HadrontherapyGeometryController::registerGeometry(), 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 777 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 795 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 783 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 789 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 484 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 486 of file G4RunManager.cc.

References currentRun, 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 385 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 450 of file G4RunManager.cc.

References randomNumberStatusDir.

Referenced by GenerateEvent(), and RunInitialization().

+ Here is the caller graph for this function:

void G4RunManager::TerminateEventLoop ( )
virtual

Definition at line 399 of file G4RunManager.cc.

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

Referenced by G4WorkerRunManager::DoEventLoop(), 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 392 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 721 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 317 of file G4RunManager.hh.

G4DCtable* G4RunManager::DCtable
protected

Definition at line 301 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 295 of file G4RunManager.hh.

Referenced by GetGeometryToBeOptimized().

G4bool G4RunManager::initializedAtLeastOnce
protected

Definition at line 294 of file G4RunManager.hh.

Referenced by ConfirmBeamOnCondition(), and Initialize().

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

Definition at line 319 of file G4RunManager.hh.

Referenced by GetNumberOfParallelWorld(), and InitializeGeometry().

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

Definition at line 292 of file G4RunManager.hh.

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

std::vector<G4Event*>* G4RunManager::previousEvents
protected
G4String G4RunManager::randomNumberStatusForThisEvent
protected
G4String G4RunManager::randomNumberStatusForThisRun
protected
G4int G4RunManager::runIDCounter
protected
RMType G4RunManager::runManagerType
protected

Definition at line 557 of file G4RunManager.hh.

Referenced by G4RunManager(), and GetRunManagerType().

G4RunMessenger* G4RunManager::runMessenger
private

Definition at line 288 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 283 of file G4RunManager.hh.

Referenced by GetUserStackingAction(), and SetUserAction().

G4UserSteppingAction* G4RunManager::userSteppingAction
protected

Definition at line 285 of file G4RunManager.hh.

Referenced by GetUserSteppingAction(), and SetUserAction().

G4UserTrackingAction* G4RunManager::userTrackingAction
protected

Definition at line 284 of file G4RunManager.hh.

Referenced by GetUserTrackingAction(), and SetUserAction().


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