lcsim/src/org/lcsim/recon/util
diff -u -r1.5 -r1.6
--- McTruthLinker.java 16 Feb 2012 16:14:04 -0000 1.5
+++ McTruthLinker.java 17 Feb 2012 10:31:36 -0000 1.6
@@ -334,8 +334,13 @@
addMcParticleWithParents(mcParticle, skimmedMcParticles);
}
if (mcParticle.getGeneratorStatus() == MCParticle.DOCUMENTATION) {
- // add all documentation particles, needed for Mokka which
- // stores the initial particles like that
+ // add all documentation particles.
+ addMcParticleWithParents(mcParticle, skimmedMcParticles);
+ }
+ if (mcParticle.getGeneratorStatus() > 3) {
+ // add all particles with unknown generator status.
+ // Mokka adds 100 to the generator status of particles that
+ // should not be passed through simulation.
addMcParticleWithParents(mcParticle, skimmedMcParticles);
}
if (mcParticle.getGeneratorStatus() == MCParticle.FINAL_STATE) {