lcsim/src/org/lcsim/fit/helicaltrack
diff -u -r1.29 -r1.30
--- HelicalTrackFitter.java 10 Jan 2009 01:20:15 -0000 1.29
+++ HelicalTrackFitter.java 13 Jan 2009 06:13:22 -0000 1.30
@@ -4,7 +4,7 @@
*
* Created on March 25, 2006, 6:11 PM
*
- * $Id: HelicalTrackFitter.java,v 1.29 2009/01/10 01:20:15 partridge Exp $
+ * $Id: HelicalTrackFitter.java,v 1.30 2009/01/13 06:13:22 partridge Exp $
*/
import hep.physics.matrix.SymmetricMatrix;
@@ -67,6 +67,10 @@
*/
CircleFitFailed,
/**
+ * Inconsistent seed hits
+ */
+ InconsistentSeed,
+ /**
* s-z line fit failed.
*/
LineFitFailed,
@@ -237,7 +241,7 @@
// Calculate the arc lengths from the DCA to each hit and check for backwards hits
Map<HelicalTrackHit, Double> smap = getPathLengths(hitcol);
for (HelicalTrackHit hit : smap.keySet()) {
- if (smap.get(hit) < 0.) return FitStatus.CircleFitFailed;
+ if (smap.get(hit) < 0.) return FitStatus.InconsistentSeed;
}
// Check if we have enough pixel hits to do a straight-line fit of s vs z