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");
76 dirName = dirName + tString;
80 for (
G4int i=0; i<numEle; i++)
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);
G4double G4ParticleHPJENDLHEData::G4double result
static G4ParticleHPManager * GetInstance()
size_t GetNumberOfIsotopes() const
void SetIsotope(const G4Isotope *iso)
const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
static constexpr double perCent
const G4Element * GetElement(G4int iel) const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4bool Register(G4ParticleHPFinalState *theFS)
void SetMinEnergy(G4double anEnergy)
const G4double * GetVecNbOfAtomsPerVolume() const
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
void Init(G4Element *theElement, const G4String dirName)
void OpenReactionWhiteBoard()
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
static constexpr double GeV
void SetMaxEnergy(const G4double anEnergy)
const G4Isotope * GetIsotope(G4int iso) const
G4double GetTemperature() const
static constexpr double MeV
const G4Material * GetMaterial() const
void CloseReactionWhiteBoard()
size_t GetNumberOfElements() const
static G4ElementTable * GetElementTable()
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
G4double GetXsec(G4double energy)
void SetParameters(const G4double A, const G4double Z)
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack, G4int isoNumber=-1)