33 #define INCLXX_IN_GEANT4_MODE 1
51 namespace NuclearPotential {
64 void NuclearPotentialConstant::initialize() {
77 const G4double theProtonFermiEnergy = std::sqrt(theFermiMomentum*theFermiMomentum + mp*mp) - mp;
81 const G4double theNeutronFermiEnergy = std::sqrt(theFermiMomentum*theFermiMomentum + mn*mn) - mn;
94 vNucleon = 0.5*(theProtonFermiEnergy + theNeutronFermiEnergy) + theAverageSeparationEnergy;
124 ERROR(
"Trying to compute potential energy of an unknown particle.");
128 ERROR(
"Trying to compute potential energy of a malformed particle.");