Import Geant4 10.5.0 source tree
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user