diff options
-rw-r--r-- | src/fit.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -6173,14 +6173,15 @@ skip_mc: nhit = get_nhit(&ev); - if (nhit < min_nhit) break; - if (fout) { fprintf(fout, " - gtid: %i\n", ev.gtid); fprintf(fout, " nhit: %zu\n", nhit); - fprintf(fout, " fit:\n"); } + if (nhit < min_nhit) goto skip_event; + + if (fout) fprintf(fout, " fit:\n"); + fmin_best = nll_best(&ev); /* Loop over 1,2,...,max_particles particle hypotheses. */ @@ -6226,6 +6227,8 @@ skip_mc: } } +skip_event: + /* Note the origin link for the first EV bank points back to the * structural link location in the MAST bank. These links are super * confusing! */ |