35 #include "EventAction.hh"
38 #include "HistoManager.hh"
48 fTotalEnergyDeposit(0.), fTotalEnergyFlow(0.)
60 fTotalEnergyDeposit = 0.;
61 fTotalEnergyFlow = 0.;
68 fTotalEnergyDeposit += Edep;
75 fTotalEnergyFlow += Eflow;
82 Run* run =
static_cast<Run*
>(
85 run->
AddEdep (fTotalEnergyDeposit);
88 G4AnalysisManager::Instance()->FillH1(1,fTotalEnergyDeposit);
89 G4AnalysisManager::Instance()->FillH1(3,fTotalEnergyFlow);
void AddEflow(G4double Eflow)
void AddEdep(G4double Edep)
void BeginOfEventAction(const G4Event *)
void EndOfEventAction(const G4Event *)
void AddEdep(G4double val)
static G4RunManager * GetRunManager()
G4Run * GetNonConstCurrentRun() const
void AddEflow(G4double eflow)