43 if(!getenv(
"G4NEUTRONHPDATA"))
44 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
45 dirName = getenv(
"G4NEUTRONHPDATA");
47 dirName = dirName + tString;
61 for (
G4int i = 0 ; i < numEle ; i++ )
67 (*theFission[i]).Register(&theFS);
75 for ( std::vector<G4NeutronHPChannel*>::iterator
76 it = theFission.begin() ; it != theFission.end() ; it++ )
104 rWeight = NumAtomsPerVolume[i];
118 if( sum == 0 || random <= running/sum )
break;
133 return std::pair<G4double, G4double>(5*perCent,
DBL_MAX);
138void G4NeutronHPFission::addChannelForNewElement()
147 (*theFission[i]).Register(&theFS);
G4DLLIMPORT std::ostream G4cout
static size_t GetNumberOfElements()
static const G4ElementTable * GetElementTable()
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
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
static G4NeutronHPManager * GetInstance()
void OpenReactionWhiteBoard()
void CloseReactionWhiteBoard()
G4NeutronHPReactionWhiteBoard * GetReactionWhiteBoard()
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
void SetParameters(const G4double A, const G4double Z)