29 #ifndef G4ParticleHPMadlandNixSpectrum_h
30 #define G4ParticleHPMadlandNixSpectrum_h 1
64 inline void Init(std::istream & aDataFile)
68 theAvarageKineticPerNucleonForLightFragments*=
CLHEP::eV;
70 theAvarageKineticPerNucleonForHeavyFragments*=
CLHEP::eV;
99 result = 1- (0.3480242*t - 0.0958798*t*t + 0.7478556*t*t*t)*
G4Exp(-aValue);
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;
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double Sample(G4double anEnergy)
~G4ParticleHPMadlandNixSpectrum()
G4double Madland(G4double aSecEnergy, G4double tm)
G4double E1(G4double aValue)
G4ParticleHPMadlandNixSpectrum()
G4double FissionIntegral(G4double tm, G4double anEnergy)
G4double G4Log(G4double x)
G4double Gamma25(G4double aValue)
G4double GetY(G4double x)
static G4Pow * GetInstance()
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
G4double theAvarageKineticPerNucleonForLightFragments
G4double powA(G4double A, G4double y) const
G4ParticleHPVector theFractionalProb
static constexpr double eV
G4double G4ParticleHPJENDLHEData::G4double result
G4ParticleHPVector theMaxTemp
G4double GetFractionalProbability(G4double anEnergy)
G4double Gamma05(G4double aValue)
void Init(std::istream &aDataFile)
G4double Gamma15(G4double aValue)
static constexpr double pi
G4double theAvarageKineticPerNucleonForHeavyFragments
G4double GIntegral(G4double tm, G4double anEnergy, G4double aMean)