29#ifndef G4NeutronHPWattSpectrum_h
30#define G4NeutronHPWattSpectrum_h 1
48 expm1 = std::exp(-1.);
54 inline void Init(std::ifstream & aDataFile)
56 theFractionalProb.
Init(aDataFile, CLHEP::eV);
57 theApar.
Init(aDataFile, CLHEP::eV);
58 theBpar.
Init(aDataFile, CLHEP::eV);
63 return theFractionalProb.
GetY(anEnergy);
72 G4double energy = anEnergy/CLHEP::eV;
73 G4double result = std::exp(-energy/a)*std::sinh(std::sqrt(b*energy));
void Init(std::ifstream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
G4double GetY(G4double x)
G4double GetFractionalProbability(G4double anEnergy)
~G4NeutronHPWattSpectrum()
G4NeutronHPWattSpectrum()
void Init(std::ifstream &aDataFile)
G4double Sample(G4double anEnergy)