48 theMaximumRadius(
std::min((*rpCorrelationTableProton)(1.), (*rpCorrelationTableNeutron)(1.))),
51 std::fill(rFromP, rFromP +
UnknownParticle, static_cast<InterpolationTable*>(NULL));
52 rFromP[
Proton] = rpCorrelationTableProton;
53 rFromP[
Neutron] = rpCorrelationTableNeutron;
55 rFromP[
DeltaPlus] = rpCorrelationTableProton;
56 rFromP[
DeltaZero] = rpCorrelationTableNeutron;
57 rFromP[
DeltaMinus] = rpCorrelationTableNeutron;
60 std::fill(pFromR, pFromR +
UnknownParticle, static_cast<InterpolationTable*>(NULL));
61 pFromR[
Proton] =
new InterpolationTable(rFromP[
Proton]->getNodeValues(), rFromP[
Proton]->getNodeAbscissae());
62 pFromR[
Neutron] =
new InterpolationTable(rFromP[
Neutron]->getNodeValues(), rFromP[
Neutron]->getNodeAbscissae());
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:"
91 initializeTransmissionRadii();
G4double getNuclearRadius(const ParticleType t, const G4int A, const G4int Z)
double A(double temperature)
void print(G4double elem)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments