From 013885856d99b2ef968179b6defcc748dfa7ca69 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 4 Mar 2019 16:18:50 -0600 Subject: update fit to print gtid and nhit even if we skip the event --- src/fit.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/fit.c b/src/fit.c index 177204c..f3ae311 100644 --- a/src/fit.c +++ b/src/fit.c @@ -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! */ -- cgit