aboutsummaryrefslogtreecommitdiff
path: root/src/event.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/event.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/event.h')
-rw-r--r--src/event.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/event.h b/src/event.h
index 4776527..88fcbe1 100644
--- a/src/event.h
+++ b/src/event.h
@@ -75,8 +75,10 @@ typedef struct event {
int run;
/* Global trigger time in ns. */
double trigger_time;
- /* Number of hit PMTs without flags. */
+ /* Number of normal hit PMTs. */
int nhit;
+ /* Number of normal hit PMTs without flags. */
+ int nhit_cal;
/* Global trigger ID. */
uint32_t gtid;
/* Trigger word. See trigger_mask_bits.inc. */