Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
G4RunManager Class Reference

#include <G4RunManager.hh>

Inheritance diagram for G4RunManager:
Inheritance graph
[legend]
Collaboration diagram for G4RunManager:
Collaboration graph
[legend]

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)
 
void SetUserInitialization (G4VUserDetectorConstruction *userInit)
 
void SetUserInitialization (G4VUserPhysicsList *userInit)
 
void SetUserAction (G4UserRunAction *userAction)
 
void SetUserAction (G4VUserPrimaryGeneratorAction *userAction)
 
void SetUserAction (G4UserEventAction *userAction)
 
void SetUserAction (G4UserStackingAction *userAction)
 
void SetUserAction (G4UserTrackingAction *userAction)
 
void SetUserAction (G4UserSteppingAction *userAction)
 
const G4VUserDetectorConstructionGetUserDetectorConstruction () const
 
const G4VUserPhysicsListGetUserPhysicsList () 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 GeometryHasBeenModified ()
 
void PhysicsHasBeenModified ()
 
void CutOffHasBeenModified ()
 
void ReOptimizeMotherOf (G4VPhysicalVolume *)
 
void ReOptimize (G4LogicalVolume *)
 
void SetVerboseLevel (G4int vl)
 
G4int GetVerboseLevel () const
 
void SetGeometryToBeOptimized (G4bool vl)
 
G4bool GetGeometryToBeOptimized ()
 
void SetNumberOfEventsToBeStored (G4int val)
 
const G4RunGetCurrentRun () const
 
const G4EventGetCurrentEvent () const
 
const G4EventGetPreviousEvent (G4int i) const
 
void SetRunIDCounter (G4int i)
 
G4int GetNumberOfParallelWorld () const
 
void SetNumberOfEventsToBeProcessed (G4int val)
 
void SetDCtable (G4DCtable *DCtbl)
 
void ConstructScoringWorlds ()
 

Static Public Member Functions

static G4RunManagerGetRunManager ()
 

Protected Member Functions

void StackPreviousEvent (G4Event *anEvent)
 
void UpdateScoring ()
 

Protected Attributes

G4RunManagerKernelkernel
 
G4EventManagereventManager
 
G4VUserDetectorConstructionuserDetector
 
G4VUserPhysicsListphysicsList
 
G4UserRunActionuserRunAction
 
G4VUserPrimaryGeneratorActionuserPrimaryGeneratorAction
 
G4UserEventActionuserEventAction
 
G4UserStackingActionuserStackingAction
 
G4UserTrackingActionuserTrackingAction
 
G4UserSteppingActionuserSteppingAction
 
G4bool geometryInitialized
 
G4bool physicsInitialized
 
G4bool runAborted
 
G4bool initializedAtLeastOnce
 
G4bool geometryToBeOptimized
 
G4int runIDCounter
 
G4int verboseLevel
 
G4Timertimer
 
G4DCtableDCtable
 
G4RuncurrentRun
 
G4EventcurrentEvent
 
std::vector< G4Event * > * previousEvents
 
G4int n_perviousEventsToBeStored
 
G4int numberOfEventToBeProcessed
 
G4bool storeRandomNumberStatus
 
G4int storeRandomNumberStatusToG4Event
 
G4String randomNumberStatusDir
 
G4String randomNumberStatusForThisRun
 
G4String randomNumberStatusForThisEvent
 
G4VPhysicalVolumecurrentWorld
 
G4int nParallelWorlds
 
G4String msgText
 
G4int n_select_msg
 
G4int numberOfEventProcessed
 

Detailed Description

Definition at line 96 of file G4RunManager.hh.

Constructor & Destructor Documentation

G4RunManager::G4RunManager ( )

Definition at line 65 of file G4RunManager.cc.

Here is the call graph for this function:

G4RunManager::~G4RunManager ( )
virtual

Definition at line 100 of file G4RunManager.cc.

Here is the call graph for this function:

Member Function Documentation

void G4RunManager::AbortEvent ( )
virtual

Definition at line 429 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 409 of file G4RunManager.cc.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4RunManager::ConfirmBeamOnCondition ( )
virtual

Definition at line 160 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::ConstructScoringWorlds ( )

Definition at line 530 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::CutOffHasBeenModified ( )
inline

Definition at line 403 of file G4RunManager.hh.

Here is the caller graph for this function:

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

Definition at line 445 of file G4RunManager.cc.

Here is the call graph for this function:

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, ParRunManager, and ParRunManager.

Definition at line 230 of file G4RunManager.cc.

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

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

Here is the call graph for this function:

G4Event * G4RunManager::GenerateEvent ( G4int  i_event)
virtual

Definition at line 292 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::GeometryHasBeenModified ( )
inline

Definition at line 388 of file G4RunManager.hh.

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

Here is the caller graph for this function:

const G4Run* G4RunManager::GetCurrentRun ( ) const
inline

Definition at line 446 of file G4RunManager.hh.

Here is the caller graph for this function:

G4int G4RunManager::GetFlagRandomNumberStatusToG4Event ( ) const
inline

Definition at line 346 of file G4RunManager.hh.

Here is the caller graph for this function:

G4bool G4RunManager::GetGeometryToBeOptimized ( )
inline

Definition at line 436 of file G4RunManager.hh.

Here is the caller graph for this function:

G4int G4RunManager::GetNumberOfParallelWorld ( ) const
inline

Definition at line 470 of file G4RunManager.hh.

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

Definition at line 454 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4String& G4RunManager::GetRandomNumberStatusForThisEvent ( ) const
inline

Definition at line 378 of file G4RunManager.hh.

Here is the call graph for this function:

const G4String& G4RunManager::GetRandomNumberStatusForThisRun ( ) const
inline

Definition at line 376 of file G4RunManager.hh.

G4bool G4RunManager::GetRandomNumberStore ( ) const
inline

Definition at line 352 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4String& G4RunManager::GetRandomNumberStoreDir ( ) const
inline

Definition at line 374 of file G4RunManager.hh.

Here is the caller graph for this function:

G4RunManager * G4RunManager::GetRunManager ( )
static

Definition at line 62 of file G4RunManager.cc.

const G4VUserDetectorConstruction* G4RunManager::GetUserDetectorConstruction ( ) const
inline

Definition at line 306 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4UserEventAction* G4RunManager::GetUserEventAction ( ) const
inline

Definition at line 314 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4VUserPhysicsList* G4RunManager::GetUserPhysicsList ( ) const
inline

Definition at line 308 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4VUserPrimaryGeneratorAction* G4RunManager::GetUserPrimaryGeneratorAction ( ) const
inline

Definition at line 312 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4UserRunAction* G4RunManager::GetUserRunAction ( ) const
inline

Definition at line 310 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4UserStackingAction* G4RunManager::GetUserStackingAction ( ) const
inline

Definition at line 316 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4UserSteppingAction* G4RunManager::GetUserSteppingAction ( ) const
inline

Definition at line 320 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4UserTrackingAction* G4RunManager::GetUserTrackingAction ( ) const
inline

Definition at line 318 of file G4RunManager.hh.

Here is the caller graph for this function:

G4int G4RunManager::GetVerboseLevel ( ) const
inline

Definition at line 424 of file G4RunManager.hh.

Here is the caller graph for this function:

const G4String& G4RunManager::GetVersionString ( ) const
inline

Definition at line 331 of file G4RunManager.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::Initialize ( )
virtual

Definition at line 362 of file G4RunManager.cc.

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

Definition at line 245 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::InitializeGeometry ( )
virtual

Definition at line 378 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::InitializePhysics ( )
virtual

Definition at line 394 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::PhysicsHasBeenModified ( )
inline

Definition at line 395 of file G4RunManager.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::ProcessOneEvent ( G4int  i_event)
virtual

Definition at line 261 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::ReOptimize ( G4LogicalVolume pLog)

Definition at line 601 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::ReOptimizeMotherOf ( G4VPhysicalVolume pPhys)

Definition at line 595 of file G4RunManager.cc.

Here is the call graph for this function:

void G4RunManager::RestoreRandomNumberStatus ( const G4String fileN)
virtual

Definition at line 494 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::rndmSaveThisEvent ( )
virtual

Definition at line 473 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::rndmSaveThisRun ( )
virtual

Definition at line 451 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::RunInitialization ( )
virtual

Definition at line 192 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::RunTermination ( )
virtual

Definition at line 327 of file G4RunManager.cc.

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

Here is the caller graph for this function:

void G4RunManager::SetGeometryToBeOptimized ( G4bool  vl)
inline

Definition at line 427 of file G4RunManager.hh.

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

Here is the call graph for this function:

void G4RunManager::SetNumberOfEventsToBeProcessed ( G4int  val)
inline

Definition at line 472 of file G4RunManager.hh.

void G4RunManager::SetNumberOfEventsToBeStored ( G4int  val)
inline

Definition at line 440 of file G4RunManager.hh.

void G4RunManager::SetPrimaryTransformer ( G4PrimaryTransformer pt)
inline

Definition at line 334 of file G4RunManager.hh.

Here is the call graph for this function:

void G4RunManager::SetRandomNumberStore ( G4bool  flag)
inline

Definition at line 350 of file G4RunManager.hh.

Here is the caller graph for this function:

void G4RunManager::SetRandomNumberStoreDir ( const G4String dir)
inline

Definition at line 354 of file G4RunManager.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::SetRunIDCounter ( G4int  i)
inline

Definition at line 464 of file G4RunManager.hh.

Here is the caller graph for this function:

void G4RunManager::SetUserAction ( G4UserRunAction userAction)
inline

Definition at line 281 of file G4RunManager.hh.

Here is the caller graph for this function:

void G4RunManager::SetUserAction ( G4VUserPrimaryGeneratorAction userAction)
inline

Definition at line 283 of file G4RunManager.hh.

void G4RunManager::SetUserAction ( G4UserEventAction userAction)
inline

Definition at line 285 of file G4RunManager.hh.

Here is the call graph for this function:

void G4RunManager::SetUserAction ( G4UserStackingAction userAction)
inline

Definition at line 290 of file G4RunManager.hh.

Here is the call graph for this function:

void G4RunManager::SetUserAction ( G4UserTrackingAction userAction)
inline

Definition at line 295 of file G4RunManager.hh.

Here is the call graph for this function:

void G4RunManager::SetUserAction ( G4UserSteppingAction userAction)
inline

Definition at line 300 of file G4RunManager.hh.

Here is the call graph for this function:

void G4RunManager::SetUserInitialization ( G4VUserDetectorConstruction userInit)
inline

Definition at line 274 of file G4RunManager.hh.

Here is the caller graph for this function:

void G4RunManager::SetUserInitialization ( G4VUserPhysicsList userInit)
inline

Definition at line 276 of file G4RunManager.hh.

Here is the call graph for this function:

void G4RunManager::SetVerboseLevel ( G4int  vl)
inline

Definition at line 421 of file G4RunManager.hh.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::TerminateEventLoop ( )
virtual

Definition at line 277 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::TerminateOneEvent ( )
virtual

Definition at line 270 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RunManager::UpdateScoring ( )
protected

Definition at line 574 of file G4RunManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

G4Event* G4RunManager::currentEvent
protected

Definition at line 249 of file G4RunManager.hh.

G4Run* G4RunManager::currentRun
protected

Definition at line 248 of file G4RunManager.hh.

G4VPhysicalVolume* G4RunManager::currentWorld
protected

Definition at line 260 of file G4RunManager.hh.

G4DCtable* G4RunManager::DCtable
protected

Definition at line 246 of file G4RunManager.hh.

G4EventManager* G4RunManager::eventManager
protected

Definition at line 222 of file G4RunManager.hh.

G4bool G4RunManager::geometryInitialized
protected

Definition at line 237 of file G4RunManager.hh.

G4bool G4RunManager::geometryToBeOptimized
protected

Definition at line 241 of file G4RunManager.hh.

G4bool G4RunManager::initializedAtLeastOnce
protected

Definition at line 240 of file G4RunManager.hh.

G4RunManagerKernel* G4RunManager::kernel
protected

Definition at line 221 of file G4RunManager.hh.

G4String G4RunManager::msgText
protected

Definition at line 264 of file G4RunManager.hh.

G4int G4RunManager::n_perviousEventsToBeStored
protected

Definition at line 251 of file G4RunManager.hh.

G4int G4RunManager::n_select_msg
protected

Definition at line 265 of file G4RunManager.hh.

G4int G4RunManager::nParallelWorlds
protected

Definition at line 262 of file G4RunManager.hh.

G4int G4RunManager::numberOfEventProcessed
protected

Definition at line 266 of file G4RunManager.hh.

G4int G4RunManager::numberOfEventToBeProcessed
protected

Definition at line 252 of file G4RunManager.hh.

G4bool G4RunManager::physicsInitialized
protected

Definition at line 238 of file G4RunManager.hh.

G4VUserPhysicsList* G4RunManager::physicsList
protected

Definition at line 225 of file G4RunManager.hh.

std::vector<G4Event*>* G4RunManager::previousEvents
protected

Definition at line 250 of file G4RunManager.hh.

G4String G4RunManager::randomNumberStatusDir
protected

Definition at line 256 of file G4RunManager.hh.

G4String G4RunManager::randomNumberStatusForThisEvent
protected

Definition at line 258 of file G4RunManager.hh.

G4String G4RunManager::randomNumberStatusForThisRun
protected

Definition at line 257 of file G4RunManager.hh.

G4bool G4RunManager::runAborted
protected

Definition at line 239 of file G4RunManager.hh.

G4int G4RunManager::runIDCounter
protected

Definition at line 243 of file G4RunManager.hh.

G4bool G4RunManager::storeRandomNumberStatus
protected

Definition at line 254 of file G4RunManager.hh.

G4int G4RunManager::storeRandomNumberStatusToG4Event
protected

Definition at line 255 of file G4RunManager.hh.

G4Timer* G4RunManager::timer
protected

Definition at line 245 of file G4RunManager.hh.

G4VUserDetectorConstruction* G4RunManager::userDetector
protected

Definition at line 224 of file G4RunManager.hh.

G4UserEventAction* G4RunManager::userEventAction
protected

Definition at line 228 of file G4RunManager.hh.

G4VUserPrimaryGeneratorAction* G4RunManager::userPrimaryGeneratorAction
protected

Definition at line 227 of file G4RunManager.hh.

G4UserRunAction* G4RunManager::userRunAction
protected

Definition at line 226 of file G4RunManager.hh.

G4UserStackingAction* G4RunManager::userStackingAction
protected

Definition at line 229 of file G4RunManager.hh.

G4UserSteppingAction* G4RunManager::userSteppingAction
protected

Definition at line 231 of file G4RunManager.hh.

G4UserTrackingAction* G4RunManager::userTrackingAction
protected

Definition at line 230 of file G4RunManager.hh.

G4int G4RunManager::verboseLevel
protected

Definition at line 244 of file G4RunManager.hh.


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