34 #include "EventAction.hh"
36 #include "RunAction.hh"
37 #include "EventActionMessenger.hh"
46 :fRun(run),fDrawFlag(
"none"),fPrintModulo(10000),fEventMessenger(NULL)
55 delete fEventMessenger;
65 if (evtNb%fPrintModulo == 0)
69 fTotalEnergyDeposit = 0.;
76 if (fDrawFlag !=
"none")
77 G4cout <<
" Energy deposit: "
81 analysisManager->FillH1(1, fTotalEnergyDeposit/
MeV);