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
@@ -63,7 +63,8 @@ G4VDecayChannel::G4VDecayChannel(const G4String& aName,
const G4String& theDaughterName1,
const G4String& theDaughterName2,
const G4String& theDaughterName3,
const G4String& theDaughterName4 )
const G4String& theDaughterName4,
const G4String& theDaughterName5 )
: kinematics_name(aName), rbranch(theBR), parent_polarization(),
numberOfDaughters(theNumberOfDaughters)
{
@@ -85,6 +86,7 @@ G4VDecayChannel::G4VDecayChannel(const G4String& aName,
if (numberOfDaughters>1) daughters_name[1] = new G4String(theDaughterName2);
if (numberOfDaughters>2) daughters_name[2] = new G4String(theDaughterName3);
if (numberOfDaughters>3) daughters_name[3] = new G4String(theDaughterName4);
if (numberOfDaughters>4) daughters_name[4] = new G4String(theDaughterName5);
if (rbranch <0. ) rbranch = 0.0;
else if (rbranch >1.0 ) rbranch = 1.0;