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