Commit in lcsim/src/org/lcsim/fit/helicaltrack on MAIN
HitUtils.java+4-31.4 -> 1.5
CD - fix typo in HitUtils

lcsim/src/org/lcsim/fit/helicaltrack
HitUtils.java 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- HitUtils.java	18 Aug 2008 21:05:00 -0000	1.4
+++ HitUtils.java	19 Aug 2008 22:00:28 -0000	1.5
@@ -117,14 +117,15 @@
             double slope = hit.z() / hit.r();
             //  If we have a helix, see if we can use the slope from the helix
             if (helix != null) {
-                //  Don't use the helix slope if the magnitude of the slope is smaller than it's uncertainty
-                if (Math.abs(slope) > helix.getSlopeError()) slope = helix.slope();
+                //  Don't use the helix slope if the magnitude of the slope is smaller than its uncertainty
+                if (Math.abs(helix.slope()) > helix.getSlopeError()) slope = helix.slope();
+                
             }
             //  Take the resolution uncertainty to be dr * |slope|
             double dzres = hit.dr() * Math.abs(slope);
             //  Combine resolution and multiple scattering uncertainties in quadrature
             return Math.sqrt(dzres*dzres + dz_ms*dz_ms);
-        }
+        } 
     }
     
     /**
CVSspam 0.2.8