35#define INCLXX_IN_GEANT4_MODE 1
48 cellSize(std::pow(2.38*4.5*Math::pi,1./6.)*std::sqrt(PhysicalConstants::hc))
50 DEBUG(
"Initialising PauliStandard. cellSize=" << cellSize << std::endl);
57 if( !(*p)->isNucleon() )
continue;
67 const G4double pbl = cellSize * std::sqrt(pFermi/r0);
68 const G4double rbl = pbl * r0/pFermi;
77 if(rs - maxVolR > rdeq) {
81 if(rs + maxVolR > rdeq) {
82 vol = vol * 0.5 * (rdeq - rs + maxVolR) / maxVolR;
90 for(
ParticleIter it = particles.begin(); it != particles.end(); ++it) {
92 if( (*it)->getID() == particle->
getID() )
continue;
94 if((*it)->getType() == particle->
getType()) {
97 if(dx2 > maxVolR * maxVolR)
continue;
101 if(dp2 > maxVolP * maxVolP)
continue;
108 if(blockingProbability > 1.0)
return 1.0;
109 else if(blockingProbability < 0.0)
return 0.0;
110 else return blockingProbability;
G4double getNuclearRadius()
G4double getFermiMomentum(const Particle *const p) const
Return the Fermi momentum for a particle.
NuclearPotential::INuclearPotential * getPotential() const
Getter for thePotential.
NuclearDensity * getDensity() const
Getter for theDensity.
G4double getUniverseRadius() const
Getter for theUniverseRadius.
const G4INCL::ThreeVector & getPosition() const
const G4INCL::ThreeVector & getMomentum() const
G4INCL::ParticleType getType() const
G4bool isBlocked(ParticleList const, Nucleus const *const) const
G4double getBlockingProbability(Particle const *const, Nucleus const *const) const
ParticleList const & getParticles() const
const G4double hc
[MeV*fm]
std::list< G4INCL::Particle * > ParticleList
std::list< G4INCL::Particle * >::const_iterator ParticleIter