lcsim/src/org/lcsim/fit/helicaltrack
diff -u -r1.8 -r1.9
--- StereoHitMaker.java 21 May 2009 21:48:15 -0000 1.8
+++ StereoHitMaker.java 10 Mar 2010 21:41:29 -0000 1.9
@@ -184,6 +184,9 @@
*/
private boolean CheckCross(HelicalTrackStrip strip1, HelicalTrackStrip strip2) {
+ // Check that the strips have the same BarrelEndcap Flag
+ if (strip1.BarrelEndcapFlag() != strip2.BarrelEndcapFlag()) return false;
+
// Check that the sensors planes are parallel to each other
if (VecOp.cross(strip1.w(), strip2.w()).magnitude() > _eps) return false;