33 #define INCLXX_IN_GEANT4_MODE 1
51 namespace DeuteronDensity {
55 const G4int coeffTableSize = 13;
58 const G4double coeff1[coeffTableSize] = {
75 const G4double coeff2[coeffTableSize] = {
105 return r*r*(sWave*sWave + dWave*dWave);
113 return (sWave*sWaveDeriv + dWave*dWaveDeriv) /
Math::twoPi;
119 return p*p*(sWave*sWave + dWave*dWave);
129 for(
G4int i=0; i<coeffTableSize; ++i) {
132 result += coeff1[i] * std::exp(-fmr);
134 result += coeff2[i] * std::exp(-fmr) * (1.+3./fmr+3./(fmr*fmr));
138 result *= normalisationR/
r;
149 for(
G4int i=0; i<coeffTableSize; ++i) {
152 result += coeff1[i] * std::exp(-fmr) * (fmr + 1.);
154 result += coeff2[i] * std::exp(-fmr) * (fmr + 4. + 9./fmr + 9./(fmr*fmr));
158 result *= -normalisationR/(r*
r);
168 for(
G4int i=0; i<coeffTableSize; ++i) {
170 fmq = q2 + alPlusI*alPlusI;
172 result += coeff1[i] / fmq;
174 result += coeff2[i] / fmq;
178 result *= normalisationP;
G4double derivWavefunctionR(const G4int l, const G4double r)
const G4double hc
[MeV*fm]
G4double G4NeutronHPJENDLHEData::G4double result
G4double derivDensityR(const G4double r)
First derivative of the r-space density function.
G4double densityR(const G4double r)
PDF for a nucleon in r space.
Deuteron density in r and p according to the Paris potential.
G4double densityP(const G4double p)
PDF for a nucleon in p space.
G4double wavefunctionP(const G4int l, const G4double p)
G4double wavefunctionR(const G4int l, const G4double r)
T max(const T t1, const T t2)
brief Return the largest of the two arguments