From 760b879820acf8164a16dee61ef09464c3aaf52e Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 9 Sep 2019 11:11:43 -0500 Subject: only loop over normal PMTs in is_slot_early() --- src/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dc.c') diff --git a/src/dc.c b/src/dc.c index fa02ac1..bc5765b 100644 --- a/src/dc.c +++ b/src/dc.c @@ -627,7 +627,7 @@ int is_slot_early(event *ev, int flasher_pmt_id) t_slot = 0.0; t_nearby = 0.0; for (i = 0; i < MAX_PMTS; i++) { - if (!ev->pmt_hits[i].hit) continue; + if (!ev->pmt_hits[i].hit || pmts[i].pmt_type != PMT_NORMAL) continue; /* Require good calibrations. * -- cgit