37 #include "EventAction.hh"
39 #include "RunAction.hh"
40 #include "HistoManager.hh"
48 fRunAct(run),fHistoManager(histo),
49 fEnergyAbs(0.), fEnergyGap(0.),
50 fTrackLAbs(0.), fTrackLGap(0.),
65 if (evtNb%fPrintModulo == 0)
69 fEnergyAbs = fEnergyGap = 0.;
70 fTrackLAbs = fTrackLGap = 0.;
79 fRunAct->
FillPerEvent(fEnergyAbs, fEnergyGap, fTrackLAbs, fTrackLGap);
90 fHistoManager->
FillNtuple(fEnergyAbs, fEnergyGap, fTrackLAbs, fTrackLGap);
void BeginOfEventAction(const G4Event *)
void FillHisto(G4int id, G4double e, G4double weight=1.0)
void EndOfEventAction(const G4Event *)
G4GLOB_DLL std::ostream G4cout
void FillPerEvent(G4double, G4double, G4double, G4double)
void FillNtuple(G4double EnergyAbs, G4double EnergyGap, G4double TrackLAbs, G4double TrackLGap)