34 #define INCLXX_IN_GEANT4_MODE 1 48 theMaximumRadius(
std::
min((*rpCorrelationTableProton)(1.), (*rpCorrelationTableNeutron)(1.))),
67 INCL_DEBUG(
"Interpolation table for proton local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:" 71 <<
"Interpolation table for neutron local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:" 75 <<
"Interpolation table for delta++ local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:" 79 <<
"Interpolation table for delta+ local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:" 83 <<
"Interpolation table for delta0 local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:" 87 <<
"Interpolation table for delta- local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:" 132 swap(temporaryDensity);
150 std::swap(
pFromR[DeltaPlusPlus], rhs.
pFromR[DeltaPlusPlus]);
157 const G4double theProtonRadius = 0.88;
G4double transmissionRadius[UnknownParticle]
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 & operator=(const NuclearDensity &rhs)
Assignment operator.
G4double getNuclearRadius(const ParticleType t, const G4int A, const G4int Z)
double A(double temperature)
InterpolationTable const * pFromR[UnknownParticle]
void print(G4double elem)
void swap(NuclearDensity &rhs)
Helper method for the assignment operator.
InterpolationTable const * rFromP[UnknownParticle]
G4double theMaximumRadius
void initializeTransmissionRadii()
Initialize the transmission radius.
G4double theProtonNuclearRadius
Represents INCL4.5's R0 variable.
Class for interpolating the of a 1-dimensional function.
NuclearDensity(const G4int A, const G4int Z, InterpolationTable const *const rpCorrelationTableProton, InterpolationTable const *const rpCorrelationTableNeutron)