34#define INCLXX_IN_GEANT4_MODE 1
49 theMaximumRadius(
std::
min((*rpCorrelationTableProton)(1.), (*rpCorrelationTableNeutron)(1.))),
70 INCL_DEBUG(
"Interpolation table for proton local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
74 <<
"Interpolation table for neutron local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
78 <<
"Interpolation table for lambda local energy (A=" <<
theA <<
", Z=" <<
theZ <<
", S=" <<
theS <<
") initialised:"
82 <<
"Interpolation table for delta++ local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
86 <<
"Interpolation table for delta+ local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
90 <<
"Interpolation table for delta0 local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
94 <<
"Interpolation table for delta- local energy (A=" <<
theA <<
", Z=" <<
theZ <<
") initialised:"
117 theMaximumRadius(rhs.theMaximumRadius),
118 theProtonNuclearRadius(rhs.theProtonNuclearRadius)
143 swap(temporaryDensity);
170 const G4double theProtonRadius = 0.88;
G4double S(G4double temp)
void print(G4double elem)
Class for interpolating the of a 1-dimensional function.
G4double transmissionRadius[UnknownParticle]
void swap(NuclearDensity &rhs)
Helper method for the assignment operator.
NuclearDensity & operator=(const NuclearDensity &rhs)
Assignment operator.
G4double theMaximumRadius
G4double getMinPFromR(const ParticleType t, const G4double r) const
InterpolationTable const * rFromP[UnknownParticle]
InterpolationTable const * pFromR[UnknownParticle]
G4double getMaxRFromP(const ParticleType t, const G4double p) const
Get the maximum allowed radius for a given momentum.
G4double theProtonNuclearRadius
Represents INCL4.5's R0 variable.
NuclearDensity(const G4int A, const G4int Z, const G4int S, InterpolationTable const *const rpCorrelationTableProton, InterpolationTable const *const rpCorrelationTableNeutron, InterpolationTable const *const rpCorrelationTableLambda)
void initializeTransmissionRadii()
Initialize the transmission radius.
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
G4double getNuclearRadius(const ParticleType t, const G4int A, const G4int Z)
void copy(G4double dst[], const G4double src[], size_t size=G4FieldTrack::ncompSVEC)