34 #define INCLXX_IN_GEANT4_MODE 1
49 #ifndef G4INCLINUCLEARPOTENTIAL_HH
50 #define G4INCLINUCLEARPOTENTIAL_HH 1
60 namespace NuclearPotential {
117 std::map<ParticleType, G4double>::const_iterator i =
fermiEnergy.find(t);
139 std::map<ParticleType, G4double>::const_iterator i =
separationEnergy.find(t);
152 return std::sqrt(Tf*(Tf+2.*
m));
167 std::map<ParticleType, G4double>::const_iterator i =
fermiMomentum.find(t);
std::map< ParticleType, G4double > fermiEnergy
const G4int theA
The mass number of the nucleus.
G4double getSeparationEnergy(const ParticleType t) const
Return the separation energy for a particle type.
G4double getFermiEnergy(const ParticleType t) const
Return the Fermi energy for a particle type.
const G4bool pionPotential
G4double getMass() const
Get the cached particle mass.
G4double getFermiMomentum(const Particle *const p) const
Return the Fermi momentum for a particle.
static const G4double vKMinusDefault
const G4int theZ
The charge number of the nucleus.
G4bool isOutOfWell() const
Check if the particle is out of its potential well.
G4double getFermiMomentum(const ParticleType t) const
Return the Fermi momentum for a particle type.
INuclearPotential const * createPotential(const PotentialType type, const G4int theA, const G4int theZ, const G4bool pionPotential)
Create an INuclearPotential object.
static constexpr double m
static const G4double vKPlusDefault
G4bool hasPionPotential() const
Do we have a pion potential?
G4bool isDelta() const
Is it a Delta?
Deuteron density in r and p according to the Paris potential.
G4double getSeparationEnergy(const Particle *const p) const
Return the separation energy for a particle.
virtual ~INuclearPotential()
G4double pow13(G4double x)
std::map< ParticleType, G4double > separationEnergy
G4double computePionPotentialEnergy(const Particle *const p) const
Compute the potential energy for the given pion.
std::map< ParticleType, G4double > fermiMomentum
double A(double temperature)
INuclearPotential(const G4int A, const G4int Z, const G4bool pionPot)
G4double computeKaonPotentialEnergy(const Particle *const p) const
Compute the potential energy for the given kaon.
G4INCL::ParticleType getType() const
const G4double eSquared
Coulomb conversion factor [MeV*fm].
void clearCache()
Clear the INuclearPotential cache.
G4double getFermiEnergy(const Particle *const p) const
Return the Fermi energy for a particle.
static const G4double vPionDefault
virtual G4double computePotentialEnergy(const Particle *const p) const =0
G4double computePionResonancePotentialEnergy(const Particle *const p) const
Compute the potential energy for the given pion resonances (Eta, Omega and EtaPrime and Gamma also)...