51 material_cache = NULL;
69 if ( unavailable_elements->find( element->
GetName() ) != unavailable_elements->end() )
return false;
80 if ( dp->
GetKineticEnergy() == ke_cache && element == element_cache && material == material_cache )
return xs_cache;
83 element_cache = element;
84 material_cache = material;
94 theFissionChannel = pChannel;
95 unavailable_elements = pSet;
102 element_cache = NULL;
103 material_cache = NULL;
122 throw G4HadronicException(__FILE__, __LINE__,
"Attempt to use NeutronHP data for particles other than neutrons!!!");
130 throw G4HadronicException(__FILE__, __LINE__,
"Attempt to use NeutronHP data for particles other than neutrons!!!");
145 if ( anE->
GetZ() < 90 )
return result;
171 G4int size =
G4int(std::max(10., aT/60*kelvin));
174 while(counter == 0 || std::abs(
buffer-result/std::max(1,counter)) > 0.03*
buffer)
176 if(counter)
buffer = result/counter;
181 boosted.
Lorentz(theNeutron, aThermalNuc);
184 aXsection = theFissionChannel[index].
GetXsec( theEkin );
187 aXsection *= (targetVelocity-neutronVelocity).mag()/neutronVMag;
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
G4ThreeVector GetMomentum() const
const G4String & GetName() const
G4double GetTemperature() const
G4double GetXsec(G4double energy)
G4bool IsIsoApplicable(const G4DynamicParticle *, G4int, G4int, const G4Element *, const G4Material *)
~G4NeutronHPorLFissionData()
void BuildPhysicsTable(const G4ParticleDefinition &)
G4NeutronHPorLFissionData()
void DumpPhysicsTable(const G4ParticleDefinition &)
G4double GetIsoCrossSection(const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
G4double GetCrossSection(const G4DynamicParticle *, const G4Element *, G4double aT)
static G4Neutron * Neutron()
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4ReactionProduct GetThermalNucleus(G4double aMass, G4double temp=-1) const
G4double GetPDGMass() 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