31 #include "B1EventAction.hh"
33 #include "B1RunAction.hh"
34 #include "B1SteppingAction.hh"
75 G4int eventNb =
event->GetEventID();
76 if (eventNb%fPrintModulo == 0) {
77 G4cout <<
"\n---> Begin of event: " << eventNb <<
G4endl;
91 fEnergy2Sum += energy*
energy;
virtual void BeginOfEventAction(const G4Event *event)
static B1SteppingAction * Instance()
double precision function energy(A, Z)
G4GLOB_DLL std::ostream G4cout
static B1EventAction * Instance()
virtual void EndOfEventAction(const G4Event *event)
G4double GetEnergy() const