Geant4  10.01.p01
ParRunManager Class Reference

#include <ParRunManager.hh>

+ Inheritance diagram for ParRunManager:
+ Collaboration diagram for ParRunManager:

Protected Member Functions

virtual void DoEventLoop (G4int n_event, const char *macroFile=0, G4int n_select=-1)
 
virtual void DoEventLoop (G4int n_event, const char *macroFile=0, G4int n_select=-1)
 
- Protected Member Functions inherited from G4RunManager
void CleanUpPreviousEvents ()
 
void CleanUpUnnecessaryEvents (G4int keepNEvents)
 
void StackPreviousEvent (G4Event *anEvent)
 
 G4RunManager (RMType rmType)
 
virtual void StoreRNGStatus (const G4String &filenamePrefix)
 
void UpdateScoring ()
 
virtual void DeleteUserInitializations ()
 

Private Member Functions

TOPC_BUF GenerateEventInput ()
 
TOPC_BUF DoEvent (void *input_buf)
 
TOPC_ACTION CheckEventResult (void *input_buf, void *ignore)
 
void ImportDoEventLoopLocals (G4StateManager *stateManager, G4int n_event, G4int n_select, G4String msg)
 
TOPC_BUF GenerateEventInput ()
 
TOPC_BUF DoEvent (void *input_buf)
 
TOPC_ACTION CheckEventResult (void *input_buf, void *ignore)
 
void ImportDoEventLoopLocals (G4StateManager *stateManager, G4int n_event, G4int n_select, G4String msg)
 

Static Private Member Functions

static TOPC_BUF MyGenerateEventInput ()
 
static TOPC_BUF MyDoEvent (void *input_buf)
 
static TOPC_ACTION MyCheckEventResult (void *input_buf, void *ignore)
 
static TOPC_BUF MyGenerateEventInput ()
 
static TOPC_BUF MyDoEvent (void *input_buf)
 
static TOPC_ACTION MyCheckEventResult (void *input_buf, void *ignore)
 

Private Attributes

G4UserEventActionorigUserEventAction
 

Static Private Attributes

static ParRunManagermyRunManager
 
static G4StateManagerstateManager
 
static G4int n_event
 
static G4int n_select
 
static G4String msg
 

Additional Inherited Members

- Public Types inherited from G4RunManager
enum  RMType { sequentialRM, masterRM, workerRM }
 
- Public Member Functions inherited from G4RunManager
 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 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 inherited from G4RunManager
static G4RunManagerGetRunManager ()
 
static G4bool IfGeometryHasBeenDestroyed ()
 
- Protected Attributes inherited from G4RunManager
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 inherited from G4RunManager
static G4bool fGeometryHasBeenDestroyed = false
 

Detailed Description

Definition at line 45 of file ParRunManager.hh.

Member Function Documentation

TOPC_ACTION ParRunManager::CheckEventResult ( void *  input_buf,
void *  ignore 
)
private
TOPC_ACTION ParRunManager::CheckEventResult ( void *  input_buf,
void *  ignore 
)
private
TOPC_BUF ParRunManager::DoEvent ( void *  input_buf)
private
TOPC_BUF ParRunManager::DoEvent ( void *  input_buf)
private
virtual void ParRunManager::DoEventLoop ( G4int  n_event,
const char *  macroFile = 0,
G4int  n_select = -1 
)
protectedvirtual

Reimplemented from G4RunManager.

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

Reimplemented from G4RunManager.

TOPC_BUF ParRunManager::GenerateEventInput ( )
private
TOPC_BUF ParRunManager::GenerateEventInput ( )
private
void ParRunManager::ImportDoEventLoopLocals ( G4StateManager stateManager,
G4int  n_event,
G4int  n_select,
G4String  msg 
)
inlineprivate

Definition at line 69 of file ParRunManager.hh.

References msg, myRunManager, n_event, n_select, and stateManager.

void ParRunManager::ImportDoEventLoopLocals ( G4StateManager stateManager,
G4int  n_event,
G4int  n_select,
G4String  msg 
)
inlineprivate

Definition at line 69 of file ParRunManager.hh.

References msg, myRunManager, n_event, n_select, and stateManager.

static TOPC_ACTION ParRunManager::MyCheckEventResult ( void *  input_buf,
void *  ignore 
)
staticprivate
static TOPC_ACTION ParRunManager::MyCheckEventResult ( void *  input_buf,
void *  ignore 
)
staticprivate
static TOPC_BUF ParRunManager::MyDoEvent ( void *  input_buf)
staticprivate
static TOPC_BUF ParRunManager::MyDoEvent ( void *  input_buf)
staticprivate
static TOPC_BUF ParRunManager::MyGenerateEventInput ( )
staticprivate
static TOPC_BUF ParRunManager::MyGenerateEventInput ( )
staticprivate

Member Data Documentation

static G4String ParRunManager::msg
staticprivate

Definition at line 67 of file ParRunManager.hh.

Referenced by ImportDoEventLoopLocals().

static ParRunManager * ParRunManager::myRunManager
staticprivate

Definition at line 58 of file ParRunManager.hh.

Referenced by ImportDoEventLoopLocals().

static G4int ParRunManager::n_event
staticprivate

Definition at line 65 of file ParRunManager.hh.

Referenced by ImportDoEventLoopLocals().

static G4int ParRunManager::n_select
staticprivate

Definition at line 66 of file ParRunManager.hh.

Referenced by ImportDoEventLoopLocals().

G4UserEventAction * ParRunManager::origUserEventAction
private

Definition at line 81 of file ParRunManager.hh.

static G4StateManager * ParRunManager::stateManager
staticprivate

Definition at line 64 of file ParRunManager.hh.

Referenced by ImportDoEventLoopLocals().


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