123 throw G4HadronicException(__FILE__, __LINE__,
"Attempt to use NeutronHP data for particles other than neutrons!!!");
142 for(
size_t i=0; i<numberOfElements; ++i )
145 if(std::getenv(
"CaptureDataIndexDebug"))
147 G4int index_debug = ((*theElementTable)[i])->GetIndex();
162 throw G4HadronicException(__FILE__, __LINE__,
"Attempt to use NeutronHP data for particles other than neutrons!!!");
176 G4cout <<
"Capture Cross Section of Neutron HP"<<
G4endl;
177 G4cout <<
"(Pointwise cross-section at 0 Kelvin.)" <<
G4endl;
186 for (
size_t i = 0 ; i < numberOfElements ; ++i )
193 for ( ie = 0 ; ie < 130 ; ie++ )
196 G4bool outOfRange =
false;
198 if ( eKinetic < 20*
MeV )
200 G4cout << eKinetic/
eV <<
" " << (*((*theCrossSections)(i))).GetValue(eKinetic, outOfRange)/
barn <<
G4endl;
235 return ( (*((*
theCrossSections)(index))).GetValue(eKinetic, outOfRange) )* factor;
262 if(counter)
buffer = result/counter;
267 boosted.
Lorentz(theNeutron, aThermalNuc);
269 aXsection = (*((*theCrossSections)(index))).GetValue(theEkin, outOfRange);
272 aXsection *= (targetVelocity-neutronVelocity).mag()/neutronVMag;
297 outFile <<
"High Precision cross data based on Evaluated Nuclear Data Files (ENDF) for radiative capture reaction of neutrons below 20MeV\n" ;
static const G4double eps
std::vector< G4Element * > G4ElementTable
static constexpr double kelvin
static constexpr double barn
static constexpr double eV
static constexpr double MeV
G4GLOB_DLL std::ostream G4cout
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
G4ThreeVector GetMomentum() const
static G4ElementTable * GetElementTable()
static size_t GetNumberOfElements()
static G4HadronicParameters * Instance()
G4int GetVerboseLevel() const
static G4Neutron * Neutron()
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4ReactionProduct GetThermalNucleus(G4double aMass, G4double temp=-1) const
G4double GetPDGMass() const
virtual void CrossSectionDescription(std::ostream &) const
G4double GetIsoCrossSection(const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
const G4Material * material_cache
G4bool IsIsoApplicable(const G4DynamicParticle *, G4int, G4int, const G4Element *, const G4Material *)
const G4Element * element_cache
G4double GetCrossSection(const G4DynamicParticle *, const G4Element *, G4double aT)
void SetVerboseLevel(G4int)
G4ParticleHPCaptureData()
void DumpPhysicsTable(const G4ParticleDefinition &)
void BuildPhysicsTable(const G4ParticleDefinition &)
~G4ParticleHPCaptureData()
G4int GetVerboseLevel() const
G4PhysicsTable * theCrossSections
static G4ParticleHPData * Instance(G4ParticleDefinition *projectile)
G4PhysicsVector * MakePhysicsVector(G4Element *thE, G4ParticleHPFissionData *theP)
G4PhysicsTable * GetCaptureCrossSections()
void SetVerboseLevel(G4int i)
void RegisterCaptureCrossSections(G4PhysicsTable *val)
static G4ParticleHPManager * GetInstance()
void push_back(G4PhysicsVector *)
static G4Pow * GetInstance()
G4double powA(G4double A, G4double y) const
void SetMomentum(const G4double x, const G4double y, const G4double z)
G4double GetKineticEnergy() const
G4ThreeVector GetMomentum() const
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
void SetKineticEnergy(const G4double en)
G4double GetMaxKinEnergy() const
void SetMaxKinEnergy(G4double value)
void SetMinKinEnergy(G4double value)
G4double GetMinKinEnergy() const
T max(const T t1, const T t2)
brief Return the largest of the two arguments