aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-10-01 19:54:27 -0500
committertlatorre <tlatorre@uchicago.edu>2018-10-01 19:54:27 -0500
commit47d601225169ec3e23b8d9b2af74aa3abef5be58 (patch)
treeeda4cedb9d3f2292d0b6aec5c2a58dde281cd77b
parentb3d1ed27ce55875a74b0308e71257c4f480dad93 (diff)
downloadsddm-47d601225169ec3e23b8d9b2af74aa3abef5be58.tar.gz
sddm-47d601225169ec3e23b8d9b2af74aa3abef5be58.tar.bz2
sddm-47d601225169ec3e23b8d9b2af74aa3abef5be58.zip
flag PMTs with the KPF_DIS bit set
Doh! I was previously using the tube number variable!
-rw-r--r--src/fit.c2
1 files changed, 1 insertions, 1 deletions
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: