34#define INCLXX_IN_GEANT4_MODE 1
38#ifndef G4INCLNuclearDensity_hh
39#define G4INCLNuclearDensity_hh 1
88 return transmissionRadius[t] +
91 return transmissionRadius[t];
100 return transmissionRadius[type];
118 void initializeTransmissionRadii();
120 G4int theA, theZ, theS;
G4double S(G4double temp)
Functor for 1-dimensional mathematical functions.
Abstract interface to the nuclear potential.
Simple interpolation table.
Class for interpolating the of a 1-dimensional function.
G4double getProtonNuclearRadius() const
G4double getTransmissionRadius(ParticleType type) const
The radius used for calculating the transmission coefficient.
G4double getTransmissionRadius(Particle const *const p) const
The radius used for calculating the transmission coefficient.
void setProtonNuclearRadius(const G4double r)
G4int getZ() const
Get the charge number.
void swap(NuclearDensity &rhs)
Helper method for the assignment operator.
NuclearDensity & operator=(const NuclearDensity &rhs)
Assignment operator.
G4double getMaximumRadius() const
G4int getA() const
Get the mass number.
G4double getMinPFromR(const ParticleType t, const G4double r) const
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, const G4int S, InterpolationTable const *const rpCorrelationTableProton, InterpolationTable const *const rpCorrelationTableNeutron, InterpolationTable const *const rpCorrelationTableLambda)
G4int getS() const
Get the strange number.
G4int getZ() const
Returns the charge number.
G4INCL::ParticleType getType() const
G4int getA() const
Returns the baryon number.
G4double getNuclearRadius(const ParticleType t, const G4int A, const G4int Z)