34 #define INCLXX_IN_GEANT4_MODE 1
38 #ifndef G4INCLNuclearDensity_hh
39 #define G4INCLNuclearDensity_hh 1
G4int getA() const
Returns the baryon number.
G4double transmissionRadius[UnknownParticle]
G4double getMinPFromR(const ParticleType t, const G4double r) const
Abstract interface to the nuclear potential.
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.
Simple interpolation table.
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]
InterpolationTable const * pFromR[UnknownParticle]
void swap(NuclearDensity &rhs)
Helper method for the assignment operator.
InterpolationTable const * rFromP[UnknownParticle]
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.
Class for interpolating the of a 1-dimensional function.
G4double getMaxRFromP(const ParticleType t, const G4double p) const
Get the maximum allowed radius for a given momentum.
NuclearDensity(const G4int A, const G4int Z, InterpolationTable const *const rpCorrelationTableProton, InterpolationTable const *const rpCorrelationTableNeutron)