49 if(!(*p)->isNucleon())
continue;
53 const G4double pFermi = n->getPotential()->getFermiMomentum(t);
54 const G4double pFermiSquared = pFermi*pFermi;
55 if((*p)->getMomentum().mag2() > pFermiSquared)
continue;
58 ParticleList const &particles = n->getStore()->getParticles();
60 for(
ParticleIter i=particles.begin(), end=particles.end(); i!=end; ++i) {
61 if((*i)->getType() != t)
continue;
62 const G4double pmod2 = (*i)->getMomentum().mag2();
63 if(pmod2<pFermiSquared) nSea++;
71 probBlocking = ((
G4double) nSea)/((
G4double) (n->getInitialA() - n->getInitialZ()));