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;
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;
154 theNeutron.SetKineticEnergy( eKinetic );
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;