33 #define INCLXX_IN_GEANT4_MODE 1
46 cellSize(std::pow(2.38*4.5*Math::
pi,1./6.)*std::sqrt(PhysicalConstants::
hc))
48 DEBUG(
"Initialising PauliStandard. cellSize=" << cellSize << std::endl);
55 if( !(*p)->isNucleon() )
continue;
65 const G4double pbl = cellSize * std::sqrt(pFermi/r0);
66 const G4double rbl = pbl * r0/pFermi;
75 if(rs - maxVolR > rdeq) {
79 if(rs + maxVolR > rdeq) {
80 vol = vol * 0.5 * (rdeq - rs + maxVolR) / maxVolR;
88 for(
ParticleIter it = particles.begin(); it != particles.end(); ++it) {
90 if( (*it)->getID() == particle->
getID() )
continue;
92 if((*it)->getType() == particle->
getType()) {
95 if(dx2 > maxVolR * maxVolR)
continue;
99 if(dp2 > maxVolP * maxVolP)
continue;
106 if(blockingProbability > 1.0)
return 1.0;
107 else if(blockingProbability < 0.0)
return 0.0;
108 else return blockingProbability;