55 if (theCapture !=
nullptr) {
56 for (
auto& ite : *theCapture) {
79 for (i = 0; i < n; ++i) {
81 rWeight = NumAtomsPerVolume[i];
82 xSec[i] = ((*theCapture)[index])->GetXsec(
90 for (i = 0; i < n; ++i) {
94 if (sum == 0 || random <= running / sum)
break;
96 if (i == n) i = std::max(0, n - 1);
106 const G4Isotope* target_isotope =
nullptr;
108 for (
G4int j = 0; j != iele; ++j) {
109 target_isotope = target_element->
GetIsotope(j);
110 if (target_isotope->
GetN()
123const std::pair<G4double, G4double>
127 return std::pair<G4double, G4double>(10.0 * perCent, 350.0 * CLHEP::GeV);
147 if (theCapture ==
nullptr)
148 theCapture =
new std::vector<G4ParticleHPChannel*>;
160 "Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
163 dirName = dirName + tString;
169 ((*theCapture)[i])->Register(theFS);
179 outFile <<
"High Precision model based on Evaluated Nuclear Data Files (ENDF)"
180 <<
" for radiative capture reaction of neutrons below 20 MeV";
const char * G4FindDataDir(const char *)
static G4ElementTable * GetElementTable()
static size_t GetNumberOfElements()
const G4Isotope * GetIsotope(G4int iso) const
size_t GetNumberOfIsotopes() const
const G4Material * GetMaterial() const
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
G4double GetTemperature() const
const G4Element * GetElement(G4int iel) const
const G4double * GetVecNbOfAtomsPerVolume() const
std::size_t GetNumberOfElements() const
void BuildPhysicsTable(const G4ParticleDefinition &) override
~G4NeutronHPCapture() override
G4int GetVerboseLevel() const
void SetVerboseLevel(G4int)
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus) override
const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const override
void ModelDescription(std::ostream &outFile) const override
void SetParameters(const G4double A, const G4double Z, const G4int numberOfLambdas=0)
void SetIsotope(const G4Isotope *iso)
std::vector< G4ParticleHPChannel * > * GetCaptureFinalStates() const
G4int GetVerboseLevel() const
void SetVerboseLevel(G4int i)
static G4ParticleHPManager * GetInstance()
void CloseReactionWhiteBoard()
void OpenReactionWhiteBoard()
void RegisterCaptureFinalStates(std::vector< G4ParticleHPChannel * > *val)
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)