50 fVerboseLevel(fgkDefaultVerboseLevel),
51 fPrintModulo(fgkDefaultPrintModulo),
68 G4int eventNumber =
event->GetEventID();
70 G4cout <<
"\n---> Begin of Event: " << eventNumber <<
G4endl;
76 G4cout <<
"<<< Event " << eventNumber <<
" started." <<
G4endl;
86 G4cout <<
"<<< Event " <<
event->GetEventID() <<
" ended." <<
G4endl;
94 G4int eventNumber =
event->GetEventID();
95 std::ostringstream fileName;
96 fileName <<
"run" << runNumber <<
"event" << eventNumber <<
".rndm";
97 CLHEP::HepRandom::saveEngineStatus(fileName.str().c_str());
100 G4cout <<
"\n---> End of Event: " << eventNumber <<
G4endl;
101 CLHEP::HepRandom::showEngineStatus();
static const G4int fgkDefaultPrintModulo
const G4Run * GetCurrentRun() const
virtual void BeginOfEventAction(const G4Event *event)
virtual ~ExG4EventAction01()
G4GLOB_DLL std::ostream G4cout
Definition of the ExG4EventAction01 class.
static const G4int fgkDefaultVerboseLevel
virtual void EndOfEventAction(const G4Event *event)
static G4RunManager * GetRunManager()