diff options
Diffstat (limited to 'src/zdab_utils.c')
-rw-r--r-- | src/zdab_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zdab_utils.c b/src/zdab_utils.c index b46ca1f..de76172 100644 --- a/src/zdab_utils.c +++ b/src/zdab_utils.c @@ -100,8 +100,11 @@ int get_event(zebraFile *f, event *ev, zebraBank *bev) ev->pmt_hits[id].qhs = bpmt.phs; ev->pmt_hits[id].qlx = bpmt.plx; ev->pmt_hits[id].pf = bpmt.pf; + ev->pmt_hits[id].pt1 = bpmt.pt1; + /* Clear the PMT_FLAG_DIS bit. */ ev->pmt_hits[id].flags &= ~PMT_FLAG_DIS; + if (bpmt.pf & KPF_DIS) ev->pmt_hits[id].flags |= PMT_FLAG_DIS; |