87 for ( std::vector<G4ParticleHPChannel*>::iterator
103 if(getenv(
"NeutronHPCapture"))
G4cout <<
" ####### G4ParticleHPCapture called"<<
G4endl;
118 rWeight = NumAtomsPerVolume[i];
120 xSec[i] = ((*theCapture)[index])->GetXsec(aThermalE.
GetThermalEnergy(aTrack,
133 if( sum == 0 || random <= running/sum )
break;
148 for (
G4int j = 0 ; j != iele ; j++ ) {
149 target_isotope=target_element->
GetIsotope( j );
210 if ( !getenv(
"G4NEUTRONHPDATA") )
211 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
212 dirName = getenv(
"G4NEUTRONHPDATA");
221 ((*theCapture)[i])->
Register(theFS);
231 outFile <<
"High Precision model based on Evaluated Nuclear Data Files (ENDF) for radiative capture reaction of neutrons below 20MeV\n";
T max(const T t1, const T t2)
brief Return the largest of the two arguments
static G4ParticleHPManager * GetInstance()
void CloseReactionWhiteBoard()
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static constexpr double MeV
void SetVerboseLevel(G4int i)
void SetIsotope(const G4Isotope *iso)
static constexpr double perCent
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
const G4double * GetVecNbOfAtomsPerVolume() const
void BuildPhysicsTable(const G4ParticleDefinition &)
std::vector< G4ParticleHPChannel * > * GetCaptureFinalStates()
const G4Material * GetMaterial() const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
virtual void ModelDescription(std::ostream &outFile) const
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
void SetVerboseLevel(G4int)
G4double G4ParticleHPJENDLHEData::G4double result
void RegisterCaptureFinalStates(std::vector< G4ParticleHPChannel * > *val)
G4int GetVerboseLevel() const
G4GLOB_DLL std::ostream G4cout
const G4Isotope * GetIsotope(G4int iso) const
static size_t GetNumberOfElements()
void SetParameters(const G4double A, const G4double Z)
std::vector< G4ParticleHPChannel * > * theCapture
const G4Element * GetElement(G4int iel) const
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
size_t GetNumberOfElements() const
G4double GetTemperature() const
void OpenReactionWhiteBoard()
static G4ElementTable * GetElementTable()
size_t GetNumberOfIsotopes() const