34 #include "EventAction.hh"
37 #include "HistoManager.hh"
60 fEnergyDeposit[k] = fTrackLengthCh[k] = 0.0;
69 Run* run =
static_cast<Run*
>(
73 run->
FillPerEvent(k,fEnergyDeposit[k],fTrackLengthCh[k]);
74 if (fEnergyDeposit[k] > 0.)
75 G4AnalysisManager::Instance()->FillH1(k, fEnergyDeposit[k]);
void BeginOfEventAction(const G4Event *)
void EndOfEventAction(const G4Event *)
static G4RunManager * GetRunManager()
Detector construction class to define materials and geometry.
G4Run * GetNonConstCurrentRun() const