57 theAvarageKineticPerNucleonForLightFragments = 0.0;
58 theAvarageKineticPerNucleonForHeavyFragments = 0.0;
62 inline void Init(std::istream& aDataFile)
override
64 theFractionalProb.
Init(aDataFile);
65 aDataFile >> theAvarageKineticPerNucleonForLightFragments;
66 theAvarageKineticPerNucleonForLightFragments *= CLHEP::eV;
67 aDataFile >> theAvarageKineticPerNucleonForHeavyFragments;
68 theAvarageKineticPerNucleonForHeavyFragments *= CLHEP::eV;
69 theMaxTemp.
Init(aDataFile);
74 return theFractionalProb.
GetY(anEnergy);
85 * (GIntegral(tm, anEnergy, theAvarageKineticPerNucleonForLightFragments)
86 + GIntegral(tm, anEnergy, theAvarageKineticPerNucleonForHeavyFragments));
99 - (0.3480242 * t - 0.0958798 * t * t + 0.7478556 * t * t * t) *
G4Exp(-aValue);
100 result *= std::sqrt(CLHEP::pi);
108 result = 0.5 * Gamma05(aValue) - std::sqrt(aValue) *
G4Exp(-aValue);
136 term = -term * aValue * (count - 1) / (count * count);
138 if (std::fabs(term) / std::fabs(result) < precision)
break;
151 G4double theAvarageKineticPerNucleonForLightFragments;
152 G4double theAvarageKineticPerNucleonForHeavyFragments;
~G4ParticleHPMadlandNixSpectrum() override=default
void Init(std::istream &aDataFile) override
G4double GetFractionalProbability(G4double anEnergy) override
G4double Sample(G4double anEnergy) override
G4double GetY(G4double x)
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)