diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-03-04 16:18:50 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-03-04 16:18:50 -0600 |
commit | 013885856d99b2ef968179b6defcc748dfa7ca69 (patch) | |
tree | a3fb09bcd3ecfabda0a25289e30bdcb160054d1a /src | |
parent | d3268dc3460383e060587b8c78dbb3c9976ba2c1 (diff) | |
download | sddm-013885856d99b2ef968179b6defcc748dfa7ca69.tar.gz sddm-013885856d99b2ef968179b6defcc748dfa7ca69.tar.bz2 sddm-013885856d99b2ef968179b6defcc748dfa7ca69.zip |
update fit to print gtid and nhit even if we skip the event
Diffstat (limited to 'src')
-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! */ |