diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-07-16 11:23:34 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-07-16 11:23:34 -0500 |
commit | 94d44ab09924a7183f355dd0148204caed9b9e77 (patch) | |
tree | 8b8b54268a5971aa8ce14884a980415371ae252b /src | |
parent | ebe279926c5c03ee054d520900715f0315dc5d0a (diff) | |
download | sddm-94d44ab09924a7183f355dd0148204caed9b9e77.tar.gz sddm-94d44ab09924a7183f355dd0148204caed9b9e77.tar.bz2 sddm-94d44ab09924a7183f355dd0148204caed9b9e77.zip |
don't double count PMT pairs in fts cut
Diffstat (limited to 'src')
-rw-r--r-- | src/dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ int is_fts(event *ev) /* Only loop over hit PMTs with good calibrations. */ if (!ev->pmt_hits[i].hit || ev->pmt_hits[i].flags) continue; - for (j = 0; j < MAX_PMTS; j++) { + for (j = i+1; j < MAX_PMTS; j++) { /* Only loop over hit PMTs with good calibrations. */ if (i == j || !ev->pmt_hits[j].hit || ev->pmt_hits[j].flags) continue; |