43 if(!getenv(
"G4NEUTRONHPDATA"))
44 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
45 dirName = getenv(
"G4NEUTRONHPDATA");
70 for ( std::vector<G4NeutronHPChannel*>::iterator
100 rWeight = NumAtomsPerVolume[i];
115 if( sum == 0 || random <= running/sum )
break;
129 for (
G4int j = 0 ; j != iele ; j++ ) {
130 target_isotope=target_element->
GetIsotope( j );
size_t GetNumberOfIsotopes() const
void OpenReactionWhiteBoard()
void SetIsotope(const G4Isotope *iso)
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
static G4NeutronHPManager * GetInstance()
G4NeutronHPReactionWhiteBoard * GetReactionWhiteBoard()
void SetVerboseLevel(G4int)
G4int GetVerboseLevel() const
void addChannelForNewElement()
G4bool overrideSuspension
const G4Element * GetElement(G4int iel) const
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
void SetStatusChange(G4HadFinalStateStatus aS)
void SetMinEnergy(G4double anEnergy)
const G4double * GetVecNbOfAtomsPerVolume() const
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
std::vector< G4NeutronHPChannel * > theElastic
static const double perCent
void SetVerboseLevel(G4int i)
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
void CloseReactionWhiteBoard()
void SetMaxEnergy(const G4double anEnergy)
const G4Isotope * GetIsotope(G4int iso) const
G4double GetTemperature() const
const G4Material * GetMaterial() const
size_t GetNumberOfElements() const
static G4ElementTable * GetElementTable()
void SetParameters(const G4double A, const G4double Z)