46 overrideSuspension =
false;
77 if ( theElastic != NULL ) {
78 for ( std::vector<G4ParticleHPChannel*>::iterator
79 it = theElastic->begin() ; it != theElastic->end() ; it++ ) {
108 rWeight = NumAtomsPerVolume[i];
110 xSec[i] = ((*theElastic)[index])->GetXsec(aThermalE.
GetThermalEnergy(aTrack,
123 if( sum == 0 || random <= running/sum )
break;
137 for (
G4int j = 0 ; j != iele ; j++ ) {
138 target_isotope=target_element->
GetIsotope( j );
189 if ( theElastic == NULL ) theElastic =
new std::vector<G4ParticleHPChannel*>;
199 if(!getenv(
"G4NEUTRONHPDATA"))
200 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
201 dirName = getenv(
"G4NEUTRONHPDATA");
203 dirName = dirName + tString;
208 ((*theElastic)[i])->
Register(theFS) ;
218 outFile <<
"High Precision model based on Evaluated Nuclear Data Files (ENDF) for inelastic reaction of neutrons below 20MeV\n";
static G4ParticleHPManager * GetInstance()
size_t GetNumberOfIsotopes() const
void RegisterElasticFinalStates(std::vector< G4ParticleHPChannel * > *val)
void SetIsotope(const G4Isotope *iso)
void BuildPhysicsTable(const G4ParticleDefinition &)
static constexpr double perCent
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
const G4Element * GetElement(G4int iel) const
void SetVerboseLevel(G4int i)
void SetStatusChange(G4HadFinalStateStatus aS)
void SetMinEnergy(G4double anEnergy)
const G4double * GetVecNbOfAtomsPerVolume() const
static size_t GetNumberOfElements()
static constexpr double eV
void OpenReactionWhiteBoard()
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
std::vector< G4ParticleHPChannel * > * GetElasticFinalStates()
virtual void ModelDescription(std::ostream &outFile) const
void SetMaxEnergy(const G4double anEnergy)
const G4Isotope * GetIsotope(G4int iso) const
G4double GetTemperature() const
static constexpr double MeV
const G4Material * GetMaterial() const
void CloseReactionWhiteBoard()
size_t GetNumberOfElements() const
G4int GetVerboseLevel() const
static G4ElementTable * GetElementTable()
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
void SetParameters(const G4double A, const G4double Z)
void SetVerboseLevel(G4int)