35#define INCLXX_IN_GEANT4_MODE 1
50#ifndef G4INCLINUCLEARPOTENTIAL_HH
51#define G4INCLINUCLEARPOTENTIAL_HH 1
61 namespace NuclearPotential {
68 pionPotential(pionPot)
77 vPiPlus = vPionDefault + 71.*xsi - vc;
78 vPiZero = vPionDefault;
79 vPiMinus = vPionDefault - 71.*xsi + vc;
111 std::map<ParticleType, G4double>::const_iterator i =
fermiEnergy.find(t);
133 std::map<ParticleType, G4double>::const_iterator i =
separationEnergy.find(t);
146 return std::sqrt(Tf*(Tf+2.*m));
161 std::map<ParticleType, G4double>::const_iterator i =
fermiMomentum.find(t);
195 const G4bool pionPotential;
196 G4double vPiPlus, vPiZero, vPiMinus;
Deuteron density in r and p according to the Paris potential.
G4double computePionPotentialEnergy(const Particle *const p) const
Compute the potential energy for the given pion.
std::map< ParticleType, G4double > fermiMomentum
G4double getFermiMomentum(const Particle *const p) const
Return the Fermi momentum for a particle.
G4double getSeparationEnergy(const Particle *const p) const
Return the separation energy for a particle.
const G4int theA
The mass number of the nucleus.
std::map< ParticleType, G4double > separationEnergy
virtual G4double computePotentialEnergy(const Particle *const p) const =0
G4double getSeparationEnergy(const ParticleType t) const
Return the separation energy for a particle type.
G4double getFermiMomentum(const ParticleType t) const
Return the Fermi momentum for a particle type.
virtual ~INuclearPotential()
G4double getFermiEnergy(const ParticleType t) const
Return the Fermi energy for a particle type.
INuclearPotential(const G4int A, const G4int Z, const G4bool pionPot)
std::map< ParticleType, G4double > fermiEnergy
G4bool hasPionPotential()
Do we have a pion potential?
G4double getFermiEnergy(const Particle *const p) const
Return the Fermi energy for a particle.
const G4int theZ
The charge number of the nucleus.
G4bool isOutOfWell() const
Check if the particle is out of its potential well.
G4INCL::ParticleType getType() const
G4double getMass() const
Get the cached particle mass.
G4bool isDelta() const
Is it a Delta?
G4double pow13(G4double x)
const G4double eSquared
Coulomb conversion factor [MeV*fm].