34 #define INCLXX_IN_GEANT4_MODE 1
48 theMaximumRadius(std::
min((*rpCorrelationTableProton)(1.), (*rpCorrelationTableNeutron)(1.))),
69 INCL_DEBUG(
"Interpolation table for proton local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
73 <<
"Interpolation table for neutron local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
77 <<
"Interpolation table for delta++ local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
81 <<
"Interpolation table for lambda local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
85 <<
"Interpolation table for delta+ local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
89 <<
"Interpolation table for delta0 local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
93 <<
"Interpolation table for delta- local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
115 theMaximumRadius(rhs.theMaximumRadius),
116 theProtonNuclearRadius(rhs.theProtonNuclearRadius)
141 swap(temporaryDensity);
160 std::swap(
pFromR[DeltaPlusPlus], rhs.
pFromR[DeltaPlusPlus]);
167 const G4double theProtonRadius = 0.88;
G4double theMaximumRadius
void print(G4double elem)
G4double getMinPFromR(const ParticleType t, const G4double r) const
void initializeTransmissionRadii()
Initialize the transmission radius.
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.
void swap(NuclearDensity &rhs)
Helper method for the assignment operator.
InterpolationTable const * rFromP[UnknownParticle]
double A(double temperature)
Class for interpolating the of a 1-dimensional function.
G4double transmissionRadius[UnknownParticle]
NuclearDensity(const G4int A, const G4int Z, InterpolationTable const *const rpCorrelationTableProton, InterpolationTable const *const rpCorrelationTableNeutron)
InterpolationTable const * pFromR[UnknownParticle]
G4double getNuclearRadius(const ParticleType t, const G4int A, const G4int Z)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
G4double theProtonNuclearRadius
Represents INCL4.5's R0 variable.