41 overrideSuspension =
false;
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;
56 for (
G4int i = 0 ; i < numEle ; i++ )
60 while(!(*theElastic[i]).Register(theFS)) ;
70 for ( std::vector<G4NeutronHPChannel*>::iterator
71 it = theElastic.begin() ; it != theElastic.end() ; it++ )
100 rWeight = NumAtomsPerVolume[i];
115 if( sum == 0 || random <= running/sum )
break;
131 return std::pair<G4double, G4double>(10*perCent,
DBL_MAX);
134void G4NeutronHPElastic::addChannelForNewElement()
142 while(!(*theElastic[i]).Register(theFS)) ;
G4DLLIMPORT std::ostream G4cout
static size_t GetNumberOfElements()
static const G4ElementTable * GetElementTable()
void SetStatusChange(G4HadFinalStateStatus aS)
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)