From 47d601225169ec3e23b8d9b2af74aa3abef5be58 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 1 Oct 2018 19:54:27 -0500 Subject: flag PMTs with the KPF_DIS bit set Doh! I was previously using the tube number variable! --- src/fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fit.c b/src/fit.c index 9bcc580..76e8db0 100644 --- a/src/fit.c +++ b/src/fit.c @@ -5359,7 +5359,7 @@ int get_event(zebraFile *f, event *ev, bank *b) ev->pmt_hits[id].qhl = bpmt.phl; ev->pmt_hits[id].qhs = bpmt.phs; ev->pmt_hits[id].qlx = bpmt.plx; - //ev->pmt_hits[id].flags |= bpmt.pn & KPF_DIS; + ev->pmt_hits[id].flags |= bpmt.pf & KPF_DIS; break; case EV_RECORD: case MAST_RECORD: -- cgit