269 rWeight = NumAtomsPerVolume[i];
271 xSec[i] = ((*theInelastic)[index])->GetXsec(aThermalE.
GetThermalEnergy(aTrack,
280 if( getenv(
"G4ParticleHPDebug") )
G4cout <<
" G4ParticleHPInelastic XSEC ELEM " << i <<
" = " << xSec[i] <<
G4endl;
292 if( sum == 0 || random<=running/sum)
break;
298 if( getenv(
"G4ParticleHPDebug") )
G4cout <<
" G4ParticleHPInelastic SELECTED ELEM " << it <<
" = " << theMaterial->
GetElement(it)->
GetName() <<
" FROM MATERIAL " << theMaterial->
GetName() <<
G4endl;
307 for (
G4int j = 0 ; j != iele ; j++ ) {
308 target_isotope=target_element->
GetIsotope( j );
314 aNucleus.SetIsotope( target_isotope );
319 if( getenv(
"G4PHPTEST") ) {
323 G4cout <<
" G4ParticleHPinelastic COS THETA " << std::cos(secoMom.
theta()) <<
" " << secoMom <<
G4endl;
G4double G4ParticleHPJENDLHEData::G4double result
static G4ParticleHPManager * GetInstance()
size_t GetNumberOfIsotopes() const
G4HadSecondary * GetSecondary(size_t i)
const G4String & GetName() const
const G4Element * GetElement(G4int iel) const
const G4double * GetVecNbOfAtomsPerVolume() const
G4GLOB_DLL std::ostream G4cout
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
static G4Neutron * Neutron()
void OpenReactionWhiteBoard()
G4double GetThermalEnergy(const G4HadProjectile &aP, const G4Element *anE, G4double aT)
G4DynamicParticle * GetParticle()
const G4Isotope * GetIsotope(G4int iso) const
G4double GetTemperature() const
const G4Material * GetMaterial() const
void CloseReactionWhiteBoard()
size_t GetNumberOfElements() const
const G4String & GetName() const
static G4ElementTable * GetElementTable()
G4ParticleHPReactionWhiteBoard * GetReactionWhiteBoard()
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4ThreeVector GetMomentum() const