34 #include "RunAction.hh"
35 #include "HistoManager.hh"
46 fSumEAbs(0.), fSum2EAbs(0.),
47 fSumEGap(0.), fSum2EGap(0.),
48 fSumLAbs(0.), fSum2LAbs(0.),
49 fSumLGap(0.), fSum2LGap(0.)
92 if (NbOfEvents == 0)
return;
98 if (rmsEAbs >0.) rmsEAbs = std::sqrt(rmsEAbs);
else rmsEAbs = 0.;
102 if (rmsEGap >0.) rmsEGap = std::sqrt(rmsEGap);
else rmsEGap = 0.;
106 if (rmsLAbs >0.) rmsLAbs = std::sqrt(rmsLAbs);
else rmsLAbs = 0.;
110 if (rmsLGap >0.) rmsLGap = std::sqrt(rmsLGap);
else rmsLGap = 0.;
115 <<
"\n--------------------End of Run------------------------------\n"
116 <<
"\n mean Energy in Absorber : " <<
G4BestUnit(fSumEAbs,
"Energy")
118 <<
"\n mean Energy in Gap : " <<
G4BestUnit(fSumEGap,
"Energy")
123 <<
"\n mean trackLength in Absorber : " <<
G4BestUnit(fSumLAbs,
"Length")
125 <<
"\n mean trackLength in Gap : " <<
G4BestUnit(fSumLGap,
"Length")
127 <<
"\n------------------------------------------------------------\n"