lcsim/test/org/lcsim/fit/twopointcircle
diff -u -r1.2 -r1.3
--- TwoPointCircleFitterTest.java 4 Nov 2009 19:44:57 -0000 1.2
+++ TwoPointCircleFitterTest.java 4 Nov 2009 22:04:49 -0000 1.3
@@ -18,7 +18,7 @@
// Instantiate the circle fitter and turn on it's debugging exceptions
TwoPointCircleFitter fitter = new TwoPointCircleFitter();
fitter.setDebug(true);
- double epsilon = 1.0e-6;
+ double epsilon = 1.0e-4;
Random r = new Random();
// Generate a set of random circles
@@ -27,6 +27,8 @@
double dmax = 10.;
for(int i=0; i<1000; ++i) {
+ if (i > 0 && i%1000000 == 0) System.out.println(i+" trials completed");
+
// Pick the center of the circle and the impact parameter
double xc = (2 * r.nextDouble() - 1.) * xmax;
double yc = (2 * r.nextDouble() - 1.) * ymax;