aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dc.c b/src/dc.c
index 7242617..5ab4431 100644
--- a/src/dc.c
+++ b/src/dc.c
@@ -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;