48 fRndmFileName(fgkDefaultRndmFileName),
74 CLHEP::HepRandom::showEngineStatus();
87 time_t systime = time(NULL);
88 seeds[0] = (long) systime;
90 CLHEP::HepRandom::setTheSeeds(seeds);
91 CLHEP::HepRandom::showEngineStatus();
97 std::ostringstream fileName;
98 fileName <<
"run" << runNumber <<
".rndm";
99 CLHEP::HepRandom::saveEngineStatus(fileName.str().c_str());
100 CLHEP::HepRandom::showEngineStatus();
114 std::ostringstream fileName;
115 fileName <<
"run" << runNumber <<
"end.rndm";
116 CLHEP::HepRandom::saveEngineStatus(fileName.str().c_str());
117 CLHEP::HepRandom::showEngineStatus();
virtual void BeginOfRunAction(const G4Run *run)
static G4VVisManager * GetConcreteInstance()
void SetRandomNumberStore(G4bool flag)
virtual void EndOfRunAction(const G4Run *run)
static G4UImanager * GetUIpointer()
static const G4String fgkDefaultRndmFileName
G4GLOB_DLL std::ostream G4cout
static G4RunManager * GetRunManager()
Definition of the ExG4RunAction01 class.
void SetRandomNumberStoreDir(const G4String &dir)
G4int ApplyCommand(const char *aCommand)