Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -28,7 +28,6 @@
// file STCyclotronRun.cc
#include "STCyclotronRun.hh"
#include "STCyclotronAnalysis.hh"
#include "G4RunManager.hh"
#include "G4Event.hh"
@@ -333,8 +332,10 @@ void STCyclotronRun::EndOfRun(G4double irradiationTime)
// life of the particle, divided by ln(2), in nS
//----------------------------------------------
G4double decayConstantMum = 1/(fPrimaryIsotopeTimeTarget[nameMum]*10.E-10);
G4double decayConstantDaughter = 1/(fDecayIsotopeTimeTarget[nameDaughter]*10.E-10);
G4double decayConstantMum = fPrimaryIsotopeTimeTarget[nameMum]
? 1/(fPrimaryIsotopeTimeTarget[nameMum]*10.E-10) : 0.;
G4double decayConstantDaughter = fDecayIsotopeTimeTarget[nameDaughter]
? 1/(fDecayIsotopeTimeTarget[nameDaughter]*10.E-10) : 0.;
//----------------------------------------------