51   G4int frequency = 100;
 
   52   if (nEvent > 1000 ) frequency = 1000;
 
   53   if (nEvent > 10000) frequency = 10000;
 
   54   if (nEvent > 100000) frequency = 100000;
 
   56   G4int remainder = nEvent % frequency;
 
   57   if (remainder == 0) 
G4cout << 
"---- eRosita event counter: " << nEvent
 
void BeginOfEventAction(const G4Event *)
 
G4GLOB_DLL std::ostream G4cout
 
void EndOfEventAction(const G4Event *)