28 #ifndef G4NeutronHPFissionSpectrum_h
29 #define G4NeutronHPFissionSpectrum_h 1
47 expm1 = std::exp(-1.);
53 inline void Init(std::istream & aDataFile)
55 theFractionalProb.
Init(aDataFile, CLHEP::eV);
56 theThetaDist.
Init(aDataFile, CLHEP::eV);
61 return theFractionalProb.
GetY(anEnergy);
71 G4double max = Maxwell((theta*CLHEP::eV)/2., theta);
76 value = Maxwell(result, theta);
79 while(cut > value/max);
88 G4double result = std::sqrt(anEnergy/CLHEP::eV)*std::exp(-anEnergy/CLHEP::eV/theta);
G4double GetY(G4double x)
~G4NeutronHPFissionSpectrum()
G4double Sample(G4double anEnergy)
G4double G4NeutronHPJENDLHEData::G4double result
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
G4NeutronHPFissionSpectrum()
const G4ParticleDefinition const G4Material *G4double range
T max(const T t1, const T t2)
brief Return the largest of the two arguments
void Init(std::istream &aDataFile)
const XML_Char int const XML_Char * value
G4double GetFractionalProbability(G4double anEnergy)