42 const G4String ExG4RunAction01::fgkDefaultRndmFileName =
"run0.rndm";
48 fRndmFileName(fgkDefaultRndmFileName),
66 if ( fVerboseLevel > 0 ) {
72 G4cout <<
"\n---> rndm status restored from file: " << fRndmFileName <<
G4endl;
87 time_t systime = time(NULL);
88 seeds[0] = (long) systime;
97 std::ostringstream fileName;
98 fileName <<
"run" << runNumber <<
".rndm";
114 std::ostringstream fileName;
115 fileName <<
"run" << runNumber <<
"end.rndm";
static void restoreEngineStatus(const char filename[]="Config.conf")
virtual void BeginOfRunAction(const G4Run *run)
static G4VVisManager * GetConcreteInstance()
static void setTheSeeds(const long *seeds, int aux=-1)
void SetRandomNumberStore(G4bool flag)
virtual void EndOfRunAction(const G4Run *run)
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
static void showEngineStatus()
static G4RunManager * GetRunManager()
static void saveEngineStatus(const char filename[]="Config.conf")
Definition of the ExG4RunAction01 class.
void SetRandomNumberStoreDir(const G4String &dir)
G4int ApplyCommand(const char *aCommand)