33 #define INCLXX_IN_GEANT4_MODE 1
37 #ifndef G4INCLNuclearDensity_hh
38 #define G4INCLNuclearDensity_hh 1
87 return transmissionRadius[t] +
90 return transmissionRadius[t];
99 return transmissionRadius[type];
114 void initializeTransmissionRadii();
G4int getA() const
Returns the baryon number.
Simple interpolation table for the inverse of a IFunction1D functor.
G4double getMinPFromR(const ParticleType t, const G4double r) const
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.
Class for interpolating the inverse of a 1-dimensional function.
void swap(NuclearDensity &rhs)
Helper method for the assignment operator.
G4INCL::ParticleType getType() const
G4double getMaximumRadius() const
Functor for 1-dimensional mathematical functions.
G4double getTransmissionRadius(Particle const *const p) const
The radius used for calculating the transmission coefficient.
G4double getMaxRFromP(const ParticleType t, const G4double p) const
Get the maximum allowed radius for a given momentum.