Print

Print


Commit in lcsim/src/org/lcsim/util/lcio on MAIN
SIOReconstructedParticle.java+4-41.8 -> 1.9
back out of this; causes several lcsim tests to fail

lcsim/src/org/lcsim/util/lcio
SIOReconstructedParticle.java 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- SIOReconstructedParticle.java	11 Mar 2009 19:04:13 -0000	1.8
+++ SIOReconstructedParticle.java	12 Mar 2009 18:07:42 -0000	1.9
@@ -21,7 +21,7 @@
 /**
  *
  * @author Tony Johnson
- * @version $Id: SIOReconstructedParticle.java,v 1.8 2009/03/11 19:04:13 jeremy Exp $
+ * @version $Id: SIOReconstructedParticle.java,v 1.9 2009/03/12 18:07:42 jeremy Exp $
  */
 class SIOReconstructedParticle extends BaseReconstructedParticle
 {
@@ -93,9 +93,9 @@
       double[] ref = particle.getReferencePoint().v();
       for (int i=0; i<3; i++) out.writeFloat((float)ref[i]);
       List<ParticleID> ids = particle.getParticleIDs();
-      if (!ids.contains(particle.getParticleIDUsed()))
-    	  throw new RuntimeException("The used PID with PDG " + particle.getParticleIDUsed().getPDG()
-    			  + " is not in the list of candidate PIDs.");
+      //if (!ids.contains(particle.getParticleIDUsed()))
+      //  throw new RuntimeException("The used PID with PDG " + particle.getParticleIDUsed().getPDG()
+      //		  + " is not in the list of candidate PIDs.");
       out.writeInt(ids.size());
       for (ParticleID pid : ids )
       {
CVSspam 0.2.8