#include <eRositaEventAction.hh>
Definition at line 39 of file eRositaEventAction.hh.
◆ eRositaEventAction()
eRositaEventAction::eRositaEventAction |
( |
| ) |
|
◆ ~eRositaEventAction()
eRositaEventAction::~eRositaEventAction |
( |
| ) |
|
◆ BeginOfEventAction()
void eRositaEventAction::BeginOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 47 of file eRositaEventAction.cc.
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
G4GLOB_DLL std::ostream G4cout
◆ EndOfEventAction()
void eRositaEventAction::EndOfEventAction |
( |
const G4Event * |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: