Commit in lcsim/src/org/lcsim/fit/helicaltrack on MAIN | |||
HitUtils.java | +6 | -4 | 1.12 -> 1.13 |
The change of the SA calculation was incorrect. Revert back to the old one...
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; }
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1