86 if ( theCapture != NULL ) {
87 for ( std::vector<G4ParticleHPChannel*>::iterator
88 ite = theCapture->begin() ; ite != theCapture->end() ; ite++ ) {
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 );
201 if ( theCapture == NULL ) theCapture =
new std::vector<G4ParticleHPChannel*>;
210 if ( !getenv(
"G4NEUTRONHPDATA") )
211 throw G4HadronicException(__FILE__, __LINE__,
"Please setenv G4NEUTRONHPDATA to point to the neutron cross-section files.");
212 dirName = getenv(
"G4NEUTRONHPDATA");
214 dirName = dirName + tString;
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";
G4double G4ParticleHPJENDLHEData::G4double result
static G4ParticleHPManager * GetInstance()
size_t GetNumberOfIsotopes() const
std::vector< G4ParticleHPChannel * > * GetCaptureFinalStates()
void SetIsotope(const G4Isotope *iso)
static constexpr double perCent
G4int GetVerboseLevel() const
const G4Element * GetElement(G4int iel) const
void SetVerboseLevel(G4int)
void SetVerboseLevel(G4int i)
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
void SetMinEnergy(G4double anEnergy)
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
const G4double * GetVecNbOfAtomsPerVolume() const
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
virtual void ModelDescription(std::ostream &outFile) const
void RegisterCaptureFinalStates(std::vector< G4ParticleHPChannel * > *val)
void OpenReactionWhiteBoard()
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
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
static G4ElementTable * GetElementTable()
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
void SetParameters(const G4double A, const G4double Z)
void BuildPhysicsTable(const G4ParticleDefinition &)