lcsim/src/org/lcsim/fit/helicaltrack
diff -u -r1.8 -r1.9
--- HitUtils.java 1 Apr 2009 20:50:15 -0000 1.8
+++ HitUtils.java 1 Apr 2009 20:55:58 -0000 1.9
@@ -182,7 +182,7 @@
double dv = Math.abs(2. * separation / (Math.sqrt(12) * salpha));
// Don't let dv by greater than the strip length / sqrt(12)
double dv1 = Math.min(dv, (strip1.vmax()-strip1.vmin()) / Math.sqrt(12.));
- double dv2 = Math.min(dv, (strip1.vmax()-strip1.vmin()) / Math.sqrt(12.));
+ double dv2 = Math.min(dv, (strip2.vmax()-strip2.vmin()) / Math.sqrt(12.));
// Add the covariance contributions from not knowing the track direction
// cov += v1 * v1^T * (dv1/2)^2 + v2 * v2^T * (dv2/2)^2
MatrixAdd(Vec2Matrix(VecOp.mult(0.5 * dv1, strip1.v())), cov);