Print

Print


Commit in lcsim/src/org/lcsim/recon/util on MAIN
McTruthLinker.java+7-21.5 -> 1.6
Also keep MCParticles with generator status > 3. Needed for Mokka output.

lcsim/src/org/lcsim/recon/util
McTruthLinker.java 1.5 -> 1.6
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) {
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1