From c171a7b4147669b6d8f3b6c4197610ad4c7c0bb4 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Sat, 21 Sep 2019 18:13:13 -0500 Subject: update definition of nhit This commit updates the ev.nhit variable to represent the total number of normal PMTs hit in the event, regardless of if the calibration failed. I added a new variable ev.nhit_cal which now stores the total number of normal PMTs hit without any flags. --- src/zdab_utils.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/zdab_utils.h') diff --git a/src/zdab_utils.h b/src/zdab_utils.h index 043e185..ce3661c 100644 --- a/src/zdab_utils.h +++ b/src/zdab_utils.h @@ -676,7 +676,6 @@ void unpack_mctk(uint32_t *data, MCTKBank *b); void unpack_ev(uint32_t *data, EVBank *b); void unpack_pmt(uint32_t *data, PMTBank *b); -size_t get_nhit(event *ev); int get_event(zebraFile *f, event *ev, zebraBank *bev); int isOrphan(aPmtEventRecord *pmtRecord); void swap_int32(int32_t *val_pt, int count); -- cgit