33 #define INCLXX_IN_GEANT4_MODE 1
47 theMaximumRadius((*rpCorrelationTable)(1.)),
49 rFromP(rpCorrelationTable),
54 DEBUG(
"Interpolation table for local energy (A=" << theA <<
", Z=" << theZ <<
") initialised:"
58 initializeTransmissionRadii();
70 theMaximumRadius(rhs.theMaximumRadius),
71 theNuclearRadius(rhs.theNuclearRadius),
77 std::copy(rhs.transmissionRadius, rhs.transmissionRadius+
UnknownParticle, transmissionRadius);
82 swap(temporaryDensity);
89 std::swap(theMaximumRadius, rhs.theMaximumRadius);
90 std::swap(theNuclearRadius, rhs.theNuclearRadius);
91 std::swap_ranges(transmissionRadius, transmissionRadius+
UnknownParticle, rhs.transmissionRadius);
96 void NuclearDensity::initializeTransmissionRadii() {
97 const G4double theProtonRadius = 0.88;
98 const G4double theProtonTransmissionRadius = theNuclearRadius + theProtonRadius;
100 transmissionRadius[
Proton] = theProtonTransmissionRadius;
101 transmissionRadius[
PiPlus] = theNuclearRadius;
102 transmissionRadius[
PiMinus] = theNuclearRadius;
103 transmissionRadius[
DeltaPlusPlus] = theProtonTransmissionRadius;
104 transmissionRadius[
DeltaPlus] = theProtonTransmissionRadius;
105 transmissionRadius[
DeltaMinus] = theProtonTransmissionRadius;
106 transmissionRadius[
Composite] = theNuclearRadius;