37 #include "EventAction.hh"
39 #include "RunAction.hh"
40 #include "EventActionMessenger.hh"
51 :fRunAct(run),fPrintModulo(1),fEventMessenger(NULL)
60 delete fEventMessenger;
68 if (evtNb%fPrintModulo == 0) {
74 fEnergyAbs = fEnergyGap = 0.;
75 fTrackLAbs = fTrackLGap = 0.;
84 fRunAct->
FillPerEvent(fEnergyAbs, fEnergyGap, fTrackLAbs, fTrackLGap);
89 if (evtNb%fPrintModulo == 0) {
93 <<
" Absorber: total energy: " << std::setw(7)
95 <<
" total track length: " << std::setw(7)
98 <<
" Gap: total energy: " << std::setw(7)
100 <<
" total track length: " << std::setw(7)