lcsim/src/org/lcsim/fit/helicaltrack
diff -u -r1.12 -r1.13
--- HitUtils.java 22 May 2012 22:08:46 -0000 1.12
+++ HitUtils.java 23 May 2012 19:00:13 -0000 1.13
@@ -332,10 +332,12 @@
public static double getSinAlpha(HelicalTrackStrip strip1, HelicalTrackStrip strip2) {
// Calculate v1hat . u2hat, which is equivalent to sin(alpha) where alpha is the stereo angle
double salpha = v1Dotu2(strip1, strip2);
- //get cos(alpha) and check if the meaurement directions are ~parallel or flipped
- double calpha = VecOp.dot(strip1.u(), strip2.u());
- if (calpha < 0)
- salpha = -salpha;
+
+//get cos(alpha) and check if the meaurement directions are ~parallel or flipped
+//mg..5/23/2012...this is wrong for some reason...go back to original
+ // double calpha = VecOp.dot(strip1.u(), strip2.u());
+// if (calpha < 0)
+// salpha = -salpha;
return salpha;
}