46 overrideSuspension =
false;
79 if ( theElastic != NULL ) {
80 for ( std::vector<G4ParticleHPChannel*>::iterator
81 it = theElastic->begin() ; it != theElastic->end() ; it++ ) {
111 rWeight = NumAtomsPerVolume[i];
113 xSec[i] = ((*theElastic)[index])->GetXsec(aThermalE.
GetThermalEnergy(aTrack,
126 if( sum == 0 || random <= running/sum )
break;
140 for (
G4int j = 0 ; j != iele ; j++ ) {
141 target_isotope=target_element->
GetIsotope( j );
156 return std::pair<G4double, G4double>(10*perCent,
DBL_MAX);
192 if ( theElastic == NULL ) theElastic =
new std::vector<G4ParticleHPChannel*>;
202 if(!std::getenv(
"G4NEUTRONHPDATA"))
203 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
204 dirName = std::getenv(
"G4NEUTRONHPDATA");
206 dirName = dirName + tString;
211 ((*theElastic)[i])->Register(theFS) ;
221 outFile <<
"High Precision model based on Evaluated Nuclear Data Files (ENDF) for inelastic reaction of neutrons below 20MeV\n";
static G4ElementTable * GetElementTable()
static size_t GetNumberOfElements()
const G4Isotope * GetIsotope(G4int iso) const
size_t GetNumberOfIsotopes() const
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
void SetParameters(const G4double A, const G4double Z)
void SetIsotope(const G4Isotope *iso)
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
G4int GetVerboseLevel() const
void BuildPhysicsTable(const G4ParticleDefinition &)
virtual void ModelDescription(std::ostream &outFile) const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
void SetVerboseLevel(G4int)
void RegisterElasticFinalStates(std::vector< G4ParticleHPChannel * > *val)
void SetVerboseLevel(G4int i)
static G4ParticleHPManager * GetInstance()
std::vector< G4ParticleHPChannel * > * GetElasticFinalStates()
void CloseReactionWhiteBoard()
void OpenReactionWhiteBoard()
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)