70 if(!getenv(
"G4NEUTRONHPDATA")) {
71 G4cout <<
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files." <<
G4endl;
72 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
74 dirName = getenv(
"G4NEUTRONHPDATA");
111 for (i = 0; i <
n; i++) {
113 rWeight = NumAtomsPerVolume[i];
123 for (i = 0; i <
n; i++) {
126 if(random<=running/sum)
break;
G4bool Register(G4NeutronHPFinalState *theFS)
void Init(G4Element *theElement, const G4String dirName)
const G4Element * GetElement(G4int iel) const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack, G4int isoNumber=-1)
void SetMinEnergy(G4double anEnergy)
const G4double * GetVecNbOfAtomsPerVolume() const
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
G4NeutronHPChannel * theFission
G4FissionLibrary theLibrary
G4double GetXsec(G4double energy)
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
void SetMaxEnergy(const G4double anEnergy)
G4double GetTemperature() const
const G4Material * GetMaterial() const
size_t GetNumberOfElements() const
static G4ElementTable * GetElementTable()