Print

Print


Commit in lcsim/src/org/lcsim/recon/cheater on MAIN
CheatReconstructedParticle.java+31.1 -> 1.2
Update.

lcsim/src/org/lcsim/recon/cheater
CheatReconstructedParticle.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- CheatReconstructedParticle.java	26 Sep 2005 22:47:04 -0000	1.1
+++ CheatReconstructedParticle.java	28 Sep 2005 00:35:50 -0000	1.2
@@ -90,6 +90,7 @@
 
         _mass = p.getType().getMass();
         addCluster(c);
+  /*
         //double e = c.getEnergy();
 	if (e<_mass) {
 	    if (warnElessthanM) System.err.println("  CheatReconstructedParticle: "+p.getType().getName()+" w/ E<mass = "+e+" < "+_mass);
@@ -98,6 +99,8 @@
 	}
 
         double pm = sqrt(e*e-_mass*_mass);
+  */
+        double pm = e;
         // get direction from position of cluster and assume it comes from the origin
         double[] point = c.getPosition();
         double len = sqrt(point[0]*point[0] + point[1]*point[1] + point[2]*point[2]);
CVSspam 0.2.8