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;
std::map< std::string, G4double > energyTotal
void Fill(G4String bodypartName, G4double energyDeposit)
void BeginOfRunAction(const G4Run *)
G4GLOB_DLL std::ostream G4cout
G4int GetNumberOfEvent() const
void totalRunEnergyDeposit()
void EndOfRunAction(const G4Run *)
~G4HumanPhantomRunAction()
G4HumanPhantomRunAction(G4HumanPhantomAnalysisManager *analysis)