Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -148,7 +148,7 @@ namespace G4INCL {
nConsidered = 0;
ParticleList const &particles = theNucleus->getStore()->getParticles();
for(ParticleIter i=particles.begin(), e=particles.end(); i!=e; ++i) {
if (!(*i)->isNucleon()) continue; // Only nucleons are allowed in clusters
if (!(*i)->isNucleonorLambda()) continue; // Only nucleons and lambdas are allowed in clusters
if ((*i)->getID() == theLeadingParticle->getID()) continue; // Don't count the leading particle
G4double space = ((*i)->getPosition() - leadingParticlePosition).mag2();