43 const G4int ExG4EventAction01::fgkDefaultVerboseLevel = 1;
44 const G4int ExG4EventAction01::fgkDefaultPrintModulo = 10000;
50 fVerboseLevel(fgkDefaultVerboseLevel),
51 fPrintModulo(fgkDefaultPrintModulo),
68 G4int eventNumber =
event->GetEventID();
69 if ( eventNumber%fPrintModulo == 0 ) {
70 G4cout <<
"\n---> Begin of Event: " << eventNumber <<
G4endl;
75 if ( fVerboseLevel > 1 ) {
76 G4cout <<
"<<< Event " << eventNumber <<
" started." <<
G4endl;
85 if ( fVerboseLevel > 1 ) {
86 G4cout <<
"<<< Event " <<
event->GetEventID() <<
" ended." <<
G4endl;
94 G4int eventNumber =
event->GetEventID();
95 std::ostringstream fileName;
96 fileName <<
"run" << runNumber <<
"event" << eventNumber <<
".rndm";
99 if ( eventNumber%fPrintModulo == 0 ) {
100 G4cout <<
"\n---> End of Event: " << eventNumber <<
G4endl;