Import Geant4 9.6.0 source tree
This commit is contained in:
@@ -24,8 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4RunManager.hh,v 1.55 2010-11-15 09:49:32 asaim Exp $
|
||||
// GEANT4 tag $Name: not supported by cvs2svn $
|
||||
// $Id$
|
||||
//
|
||||
//
|
||||
|
||||
@@ -154,7 +153,7 @@ class G4RunManager
|
||||
// current event loop will be processed. This method is available only for
|
||||
// EventProc state.
|
||||
|
||||
protected: // with description
|
||||
public: // with description
|
||||
|
||||
virtual void InitializeGeometry();
|
||||
virtual void InitializePhysics();
|
||||
@@ -181,6 +180,12 @@ class G4RunManager
|
||||
// object is deleted in this class. If the user uses ODBMS and wants to store the
|
||||
// G4Run class object, he/she must override this method.
|
||||
|
||||
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();
|
||||
// Granular virtual methods invoked from DoEventLoop() method.
|
||||
|
||||
///////////////////////////////////////////////////////////virtual void BuildPhysicsTables();
|
||||
// This method is invoked from RunInitialization() to create physics tables.
|
||||
|
||||
@@ -256,6 +261,9 @@ class G4RunManager
|
||||
|
||||
G4int nParallelWorlds;
|
||||
|
||||
G4String msgText;
|
||||
G4int n_select_msg;
|
||||
G4int numberOfEventProcessed;
|
||||
|
||||
public:
|
||||
virtual void rndmSaveThisRun();
|
||||
@@ -457,9 +465,12 @@ class G4RunManager
|
||||
{ runIDCounter = i; }
|
||||
// Set the run number counter. Initially, the counter is initialized to zero and
|
||||
// incremented by one for every BeamOn().
|
||||
|
||||
public:
|
||||
inline G4int GetNumberOfParallelWorld() const
|
||||
{ return nParallelWorlds; }
|
||||
public:
|
||||
inline void SetNumberOfEventsToBeProcessed(G4int val)
|
||||
{ numberOfEventToBeProcessed = val; }
|
||||
inline void SetDCtable(G4DCtable* DCtbl)
|
||||
{ DCtable = DCtbl; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user