111 throw G4HadronicException(__FILE__, __LINE__,
"Attempt to use NeutronHP data for particles other than neutrons!!!");
124 for(
size_t i=0; i<numberOfElements; ++i )
135 throw G4HadronicException(__FILE__, __LINE__,
"Attempt to use NeutronHP data for particles other than neutrons!!!");
146 G4cout <<
"Fission Cross Section of Neutron HP"<<
G4endl;
147 G4cout <<
"(Pointwise cross-section at 0 Kelvin.)" <<
G4endl;
156 for (
size_t i = 0 ; i < numberOfElements ; ++i )
163 G4cout <<
"The cross-section data of the fission of this element is not available." <<
G4endl;
170 for ( ie = 0 ; ie < 130 ; ie++ )
172 G4double eKinetic = 1.0e-5 * std::pow ( 10.0 , ie/10.0 ) *
eV;
173 G4bool outOfRange =
false;
175 if ( eKinetic < 20*
MeV )
177 G4cout << eKinetic/
eV <<
" " << (*((*theCrossSections)(i))).GetValue(eKinetic, outOfRange)/
barn <<
G4endl;
194 if(anE->
GetZ()<90)
return result;
199 if ( ( ( *
theCrossSections )( index ) )->GetVectorLength() == 0 )
return result;
205 theNeutronRP.SetKineticEnergy( eKinetic );
224 G4double neutronVMag = neutronVelocity.mag();
226 while(counter == 0 || std::abs(buffer-result/
std::max(1,counter)) > 0.01*buffer)
228 if(counter) buffer = result/counter;
233 boosted.
Lorentz(theNeutronRP, aThermalNuc);
235 aXsection = (*((*theCrossSections)(index))).GetValue(theEkin, outOfRange);
238 aXsection *= (targetVelocity-neutronVelocity).mag()/neutronVMag;
static G4ParticleHPManager * GetInstance()
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4PhysicsTable * theCrossSections
const G4Material * material_cache
void Lorentz(const G4ReactionProduct &p1, const G4ReactionProduct &p2)
G4double GetKineticEnergy() const
CLHEP::Hep3Vector G4ThreeVector
void SetMomentum(const G4double x, const G4double y, const G4double z)
void push_back(G4PhysicsVector *)
void DumpPhysicsTable(const G4ParticleDefinition &)
static const G4double eps
G4ParticleDefinition * GetDefinition() const
G4bool IsIsoApplicable(const G4DynamicParticle *, G4int, G4int, const G4Element *, const G4Material *)
G4double GetCrossSection(const G4DynamicParticle *, const G4Element *, G4double aT)
G4ReactionProduct GetThermalNucleus(G4double aMass, G4double temp=-1) const
void SetVerboseLevel(G4int i)
void BuildPhysicsTable(const G4ParticleDefinition &)
G4GLOB_DLL std::ostream G4cout
static size_t GetNumberOfElements()
void SetMinKinEnergy(G4double value)
static G4Neutron * Neutron()
void SetVerboseLevel(G4int)
static const double kelvin
G4double GetKineticEnergy() const
G4PhysicsVector * MakePhysicsVector(G4Element *thE, G4ParticleHPFissionData *theP)
G4double GetPDGMass() const
~G4ParticleHPFissionData()
void SetMaxKinEnergy(G4double value)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
static G4ParticleHPData * Instance(G4ParticleDefinition *projectile)
G4ThreeVector GetMomentum() const
G4int GetVerboseLevel() const
std::vector< G4Element * > G4ElementTable
G4ParticleHPFissionData()
static G4ElementTable * GetElementTable()
G4double GetMinKinEnergy() const
G4ThreeVector GetMomentum() const
G4double GetMaxKinEnergy() const
G4double GetIsoCrossSection(const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
const G4Element * element_cache