34 #include "DetectorConstruction.hh"
35 #include "PrimaryGeneratorAction.hh"
49 fParticle(0), fEkin(0.),
50 fTotalCount(0), fSumTrack(0.), fSumTrack2(0.), fEnTransfer(0.)
69 std::map<G4String,G4int>::iterator
it =
fProcCounter.find(procName);
98 const Run* localRun =
static_cast<const Run*
>(run);
105 std::map<G4String,G4int>::const_iterator
it;
110 G4int localCount = it->second;
141 G4cout <<
"\n ======================== run summary ======================\n";
145 << material->
GetName() <<
" (density: "
150 G4cout <<
"\n Process calls frequency --->";
151 std::map<G4String,G4int>::iterator
it;
154 G4int count = it->second;
155 G4cout <<
"\t" << procName <<
" = " << count;
156 if (procName ==
"Transportation") survive = count;
160 G4cout <<
"\n\n Nb of incident particles surviving after "
171 G4double rms = std::sqrt(std::fabs(MeanTrack2 - MeanFreePath*MeanFreePath));
172 G4double CrossSection = 1./MeanFreePath;
173 G4double massicMFP = MeanFreePath*density;
178 <<
"\tmassic: " <<
G4BestUnit(massicMFP,
"Mass/Surface")
179 <<
"\n CrossSection:\t" << CrossSection*
cm <<
" cm^-1 "
180 <<
"\t\t\tmassic: " <<
G4BestUnit(massicCS,
"Surface/Mass")
188 G4cout <<
"\n mean energy of charged secondaries: "
190 <<
"\n ---> mass_energy_transfer coef: "
196 G4cout <<
"\n Verification : "
197 <<
"crossSections from G4EmCalculator \n";
205 procName,material)/density;
209 procName,material)/density;
211 G4cout <<
" " << procName <<
"= "