35#define INCLXX_IN_GEANT4_MODE 1
50 if(!(*p)->isNucleon())
continue;
54 const G4double pFermi = n->getPotential()->getFermiMomentum(t);
55 const G4double pFermiSquared = pFermi*pFermi;
56 if((*p)->getMomentum().mag2() > pFermiSquared)
continue;
59 const ParticleList particles = n->getStore()->getParticles();
61 for(
ParticleIter i=particles.begin(); i!=particles.end(); ++i) {
62 if((*i)->getType() != t)
continue;
63 const G4double pmod2 = (*i)->getMomentum().mag2();
64 if(pmod2<pFermiSquared) nSea++;
72 probBlocking = ((
G4double) nSea)/((
G4double) (n->getInitialA() - n->getInitialZ()));
G4bool isBlocked(ParticleList const, Nucleus const *const) const
std::list< G4INCL::Particle * > ParticleList
std::list< G4INCL::Particle * >::const_iterator ParticleIter