Commit in lcsim/src/org/lcsim/recon/cluster/structural/likelihood on MAIN
TrackToTrackDOCA.java+2-21.4 -> 1.5
MJC: Increase tolerance to numerical precision effects in sanity check, in order to prevent spurious errors

lcsim/src/org/lcsim/recon/cluster/structural/likelihood
TrackToTrackDOCA.java 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- TrackToTrackDOCA.java	9 Jan 2008 18:44:03 -0000	1.4
+++ TrackToTrackDOCA.java	22 Oct 2008 22:43:20 -0000	1.5
@@ -21,7 +21,7 @@
   * four hits (otherwise the direction is not so meaningful).
   *
   * @author Mat Charles <[log in to unmask]>
-  * @version $Id: TrackToTrackDOCA.java,v 1.4 2008/01/09 18:44:03 mcharles Exp $
+  * @version $Id: TrackToTrackDOCA.java,v 1.5 2008/10/22 22:43:20 mcharles Exp $
   */
 
 public class TrackToTrackDOCA implements StructuralLikelihoodQuantity
@@ -83,7 +83,7 @@
 	}
 	
 	// DOCA should never be less than zero
-	if (doca < 0.0 && doca > -1.0E-10) {
+	if (doca < 0.0 && doca > -1.0E-8) {
 	    // Rounding error -- ignore it
 	    doca = 0.0;
 	} else if (doca < 0.0) {
CVSspam 0.2.8