44 :analysisMan(analysis)
59 G4cout <<
"### Run " << run_number <<
" start." <<
G4endl;
105 analysisMan -> book();
116 analysisMan -> save();
130 std::map<std::string,G4double>::iterator i =
energyTotal.begin();
131 std::map<std::string,G4double>::iterator end =
energyTotal.end();
133 G4double totalEnergyDepositInPhantom =0.;
142 G4cout <<
"Energy Total in Run:" << bodypart <<
", ID: " << k
143 <<
", Energy Deposition (MeV): "
149 analysisMan -> FillNtupleWithEnergyDeposition(k, energyDep/
MeV);
154 totalEnergyDepositInPhantom += energyDep;
158 G4cout <<
"Total Energy deposit in the body is: "
159 << totalEnergyDepositInPhantom/
MeV <<
" MeV" <<
G4endl;
void totalRunEnergyDeposit()
static constexpr double MeV
G4int GetNumberOfEvent() const
G4GLOB_DLL std::ostream G4cout
void BeginOfRunAction(const G4Run *)
std::map< std::string, G4double > energyTotal
void Fill(G4String bodypartName, G4double energyDeposit)
G4HumanPhantomRunAction(G4HumanPhantomAnalysisManager *analysis)
void EndOfRunAction(const G4Run *)
~G4HumanPhantomRunAction()