lcsim/src/org/lcsim/recon/vertexing/zvtop4/fitter
diff -u -r1.1 -r1.2
--- BilloirFitter.java 27 Mar 2006 00:00:21 -0000 1.1
+++ BilloirFitter.java 27 Mar 2006 04:26:54 -0000 1.2
@@ -1,7 +1,7 @@
package org.lcsim.recon.vertexing.zvtop4.fitter;
/**
- * @version $Id: BilloirFitter.java,v 1.1 2006/03/27 00:00:21 jstrube Exp $
+ * @version $Id: BilloirFitter.java,v 1.2 2006/03/27 04:26:54 jstrube Exp $
*/
// Performs a Kalman fit to a list of tracks and returns
@@ -349,7 +349,7 @@
// icypl = 1 if "cylindrical" coordinates, 0 if "plane" coordinates
//
if ( (icypl == 1 && dat[0] == 0.) || dat[3] == 0. || dat[5] == 0.) {
- System.out.println("******error in perigee*******");
+ System.err.println("******error in perigee*******");
throw new IllegalArgumentException("Choke!");
}
@@ -787,7 +787,7 @@
double[] tmp = new double[6];
for (int j = 0; j < 6; ++j) {
tmp[j] = wc[j][i];
- System.out.println("tmp[" + j + "]= " + tmp[j]);
+// System.out.println("tmp[" + j + "]= " + tmp[j]);
}
double[] tmpinv = new double[6];
tmpinv = pxmi3(tmp);
@@ -837,7 +837,7 @@
// * covariance matrix on vertex
vcov = pxmi3(wa);
for (int ii = 0; ii < vcov.length; ++ii) {
- System.out.println("vcov[" + ii + "]= " + vcov[ii]);
+// System.out.println("vcov[" + ii + "]= " + vcov[ii]);
}
//
// *
@@ -977,7 +977,7 @@
chi2 += chi2tr[i];
}
}
- System.out.println("chi2= " + chi2);
+// System.out.println("chi2= " + chi2);
return new Vertex(ntrk, xyzf, parf, vcov, tcov, chi2, chi2tr);
}