33 #define INCLXX_IN_GEANT4_MODE 1
37 #ifndef G4INCLNuclearDensity_hh
38 #define G4INCLNuclearDensity_hh 1
G4int getA() const
Returns the baryon number.
Simple interpolation table for the inverse of a IFunction1D functor.
G4double transmissionRadius[UnknownParticle]
G4double getMinPFromR(const ParticleType t, const G4double r) const
InverseInterpolationTable const * rFromP[UnknownParticle]
InverseInterpolationTable const * pFromR[UnknownParticle]
Abstract interface to the nuclear potential.
NuclearDensity(const G4int A, const G4int Z, InverseInterpolationTable const *const rpCorrelationTableProton, InverseInterpolationTable const *const rpCorrelationTableNeutron)
G4int getA() const
Get the mass number.
G4double getTransmissionRadius(ParticleType type) const
The radius used for calculating the transmission coefficient.
G4int getZ() const
Get the charge number.
NuclearDensity & operator=(const NuclearDensity &rhs)
Assignment operator.
void setProtonNuclearRadius(const G4double r)
G4double getProtonNuclearRadius() const
G4double getNuclearRadius(const ParticleType t, const G4int A, const G4int Z)
G4int getZ() const
Returns the charge number.
static const G4double A[nN]
Class for interpolating the inverse of a 1-dimensional function.
void swap(NuclearDensity &rhs)
Helper method for the assignment operator.
G4INCL::ParticleType getType() const
Get the particle type.
G4double getMaximumRadius() const
Functor for 1-dimensional mathematical functions.
G4double theMaximumRadius
void initializeTransmissionRadii()
Initialize the transmission radius.
G4double getTransmissionRadius(Particle const *const p) const
The radius used for calculating the transmission coefficient.
G4double theProtonNuclearRadius
Represents INCL4.5's R0 variable.
G4double getMaxRFromP(const ParticleType t, const G4double p) const
Get the maximum allowed radius for a given momentum.