slaclab / lcsim

LCSim Java Library
Other
1 stars 5 forks source link

Helixfitter prints junk #27

Closed mholtrop closed 4 years ago

mholtrop commented 4 years ago

Code prints:

There it is: 9.654243 There it is: 9.654243 There it is: 9.654243 There it is: 9.654243 and

There it is: 0.525980 Now invoked HelixFitter 25050 times Strategy: S456_C3_E21 There it is: 0.361535 Now invoked HelixFitter 25051 times

Code:

Add if(_debug) to the following lines.

Line 149:

System.out.printf("There it is: %f \n",oldhelix.chisqtot());

Line 83:

 if(invocation_count > 4584) {
            System.out.printf("Now invoked HelixFitter %d times\n ", invocation_count);
            System.out.printf("Strategy: %s \n",seed.getSeedStrategy().getName());
        }