Print

Print


Commit in lcsim/src/org/lcsim/mc/fast/tracking on MAIN
MCFastTracking.java+2-11.7 -> 1.8
Added cornercases of infinite or nan charge to handle susy particles.
Actually handling means ignoring at the moment.

lcsim/src/org/lcsim/mc/fast/tracking
MCFastTracking.java 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- MCFastTracking.java	20 Aug 2005 19:15:03 -0000	1.7
+++ MCFastTracking.java	24 Sep 2005 01:46:38 -0000	1.8
@@ -96,7 +96,8 @@
          {
             continue;
          }
-         if (p.getCharge() == 0)
+         double pCharge = p.getCharge();
+         if (pCharge == 0 || pCharge == Double.NaN || pCharge == Double.NEGATIVE_INFINITY || pCharge == Double.POSITIVE_INFINITY)
          {
             continue;
          }
CVSspam 0.2.8