Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
@@ -178,7 +178,7 @@ namespace G4INCL {
}
nucleus->setMomentum(pBalance);
const G4double remnantMass = ParticleTable::getTableMass(nucleus->getA(),nucleus->getZ()) + nucleus->getExcitationEnergy();
const G4double remnantMass = ParticleTable::getTableMass(nucleus->getA(),nucleus->getZ(),nucleus->getS()) + nucleus->getExcitationEnergy();
const G4double pRem2 = pBalance.mag2();
const G4double recoilEnergy = pRem2/
(std::sqrt(pRem2+remnantMass*remnantMass) + remnantMass);
@@ -238,7 +238,7 @@ namespace G4INCL {
ThreeVector theIncomingMomentum;
/// \brief List of final-state particles.
ParticleList outgoingParticles;
// \brief Reference to the EventInfo object
/// \brief Reference to the EventInfo object
EventInfo const &theEventInfo;
/// \brief Initial CM momenta of the outgoing particles
std::list<ThreeVector> particleCMMomenta;
@@ -261,7 +261,7 @@ namespace G4INCL {
}
nucleus->setMomentum(remnantMomentum);
const G4double remnantMass = ParticleTable::getTableMass(nucleus->getA(),nucleus->getZ()) + nucleus->getExcitationEnergy();
const G4double remnantMass = ParticleTable::getTableMass(nucleus->getA(),nucleus->getZ(),nucleus->getS()) + nucleus->getExcitationEnergy();
const G4double pRem2 = remnantMomentum.mag2();
const G4double recoilEnergy = pRem2/
(std::sqrt(pRem2+remnantMass*remnantMass) + remnantMass);