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");
113 for (i = 0; i <
n; i++) {
115 rWeight = NumAtomsPerVolume[i];
125 for (i = 0; i <
n; i++) {
128 if(random<=running/sum)
break;
140 for (
G4int j = 0 ; j != iele ; j++ ) {
141 target_isotope=target_element->
GetIsotope( j );
152 return std::pair<G4double, G4double>(5*
perCent,250*
GeV);
static G4ParticleHPManager * GetInstance()
void Init(G4Element *theElement, const G4String dirName)
void CloseReactionWhiteBoard()
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static constexpr double MeV
void SetIsotope(const G4Isotope *iso)
static constexpr double perCent
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
const G4double * GetVecNbOfAtomsPerVolume() const
G4FissionLibrary theLibrary
const G4Material * GetMaterial() const
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
G4ParticleHPChannel * theFission
G4double G4ParticleHPJENDLHEData::G4double result
G4double GetXsec(G4double energy)
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4bool Register(G4ParticleHPFinalState *theFS)
G4GLOB_DLL std::ostream G4cout
const G4Isotope * GetIsotope(G4int iso) const
static size_t GetNumberOfElements()
void SetParameters(const G4double A, const G4double Z)
const G4Element * GetElement(G4int iel) const
static constexpr double GeV
size_t GetNumberOfElements() const
G4double GetTemperature() const
void OpenReactionWhiteBoard()
static G4ElementTable * GetElementTable()
size_t GetNumberOfIsotopes() const
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack, G4int isoNumber=-1)