diff options
-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 41be1c6..7c3d2ae 100644 --- a/src/zdab_utils.c +++ b/src/zdab_utils.c @@ -151,6 +151,9 @@ int get_event(zebraFile *f, event *ev, zebraBank *bev) /* Clear the PMT_FLAG_DIS bit. */ ev->pmt_hits[id].flags &= ~PMT_FLAG_DIS; + /* Clear the PMT_FLAG_CHARGE bit. */ + ev->pmt_hits[id].flags &= ~PMT_FLAG_CHARGE; + /* Make sure we have good calibrations. Technically, we should only * have to check the KPF_DIS bit since according to the SNOMAN * docs: |