69 if(!std::getenv(
"G4NEUTRONHPDATA")) {
70 G4cout <<
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files." <<
G4endl;
71 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
73 dirName = std::getenv(
"G4NEUTRONHPDATA");
75 dirName = dirName + tString;
79 for (
G4int i=0; i<numEle; i++)
112 for (i = 0; i < n; i++) {
114 rWeight = NumAtomsPerVolume[i];
124 for (i = 0; i < n; i++) {
127 if(random<=running/sum)
break;
139 for (
G4int j = 0 ; j != iele ; j++ ) {
140 target_isotope=target_element->
GetIsotope( j );
151 return std::pair<G4double, G4double>(5*perCent,250*GeV);
G4GLOB_DLL std::ostream G4cout
static G4ElementTable * GetElementTable()
static size_t GetNumberOfElements()
const G4Isotope * GetIsotope(G4int iso) const
size_t GetNumberOfIsotopes() const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
const G4Material * GetMaterial() const
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
G4double GetTemperature() const
const G4Element * GetElement(G4int iel) const
size_t GetNumberOfElements() const
const G4double * GetVecNbOfAtomsPerVolume() const
void SetParameters(const G4double A, const G4double Z)
void SetIsotope(const G4Isotope *iso)
G4HadFinalState * ApplyYourself(const G4HadProjectile &theTrack, G4int isoNumber=-1)
void Init(G4Element *theElement, const G4String dirName)
G4bool Register(G4ParticleHPFinalState *theFS)
G4double GetXsec(G4double energy)
static G4ParticleHPManager * GetInstance()
void CloseReactionWhiteBoard()
void OpenReactionWhiteBoard()
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)