aboutsummaryrefslogtreecommitdiff
path: root/src/zdab_utils.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-09-21 18:13:13 -0500
committertlatorre <tlatorre@uchicago.edu>2019-09-21 18:13:13 -0500
commitc171a7b4147669b6d8f3b6c4197610ad4c7c0bb4 (patch)
tree5c4e6f3d894c2f072957a7552ded1700dfe7248c /src/zdab_utils.h
parentf7eacbb52db769634e6de5f36b9b2f4f9c84c6f2 (diff)
downloadsddm-c171a7b4147669b6d8f3b6c4197610ad4c7c0bb4.tar.gz
sddm-c171a7b4147669b6d8f3b6c4197610ad4c7c0bb4.tar.bz2
sddm-c171a7b4147669b6d8f3b6c4197610ad4c7c0bb4.zip
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.
Diffstat (limited to 'src/zdab_utils.h')
-rw-r--r--src/zdab_utils.h1
1 files changed, 0 insertions, 1 deletions
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);