29#ifndef G4NeutronHPFissionSpectrum_h
30#define G4NeutronHPFissionSpectrum_h 1
48 expm1 = std::exp(-1.);
54 inline void Init(std::ifstream & aDataFile)
56 theFractionalProb.
Init(aDataFile, CLHEP::eV);
57 theThetaDist.
Init(aDataFile, CLHEP::eV);
62 return theFractionalProb.
GetY(anEnergy);
72 G4double max = Maxwell((theta*CLHEP::eV)/2., theta);
77 value = Maxwell(result, theta);
80 while(cut > value/max);
89 G4double result = std::sqrt(anEnergy/CLHEP::eV)*std::exp(-anEnergy/CLHEP::eV/theta);
G4double GetFractionalProbability(G4double anEnergy)
~G4NeutronHPFissionSpectrum()
G4NeutronHPFissionSpectrum()
void Init(std::ifstream &aDataFile)
G4double Sample(G4double anEnergy)
void Init(std::ifstream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
G4double GetY(G4double x)