28 #ifndef G4NeutronHPWattSpectrum_h
29 #define G4NeutronHPWattSpectrum_h 1
47 expm1 = std::exp(-1.);
53 inline void Init(std::istream & aDataFile)
55 theFractionalProb.
Init(aDataFile, CLHEP::eV);
56 theApar.
Init(aDataFile, CLHEP::eV);
57 theBpar.
Init(aDataFile, CLHEP::eV);
62 return theFractionalProb.
GetY(anEnergy);
72 G4double result = std::exp(-energy/a)*std::sinh(std::sqrt(b*energy));
G4double GetY(G4double x)
~G4NeutronHPWattSpectrum()
void Init(std::istream &aDataFile)
G4double G4NeutronHPJENDLHEData::G4double result
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
G4NeutronHPWattSpectrum()
G4double Sample(G4double anEnergy)
G4double GetFractionalProbability(G4double anEnergy)