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()
size_t GetNumberOfIsotopes() const
void SetIsotope(const G4Isotope *iso)
const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
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()
static const double perCent
void Init(G4Element *theElement, const G4String dirName)
void OpenReactionWhiteBoard()
G4FissionLibrary theLibrary
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
void SetMaxEnergy(const G4double anEnergy)
const G4Isotope * GetIsotope(G4int iso) const
G4double GetTemperature() const
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)
G4ParticleHPChannel * theFission
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack, G4int isoNumber=-1)