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/event.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/event.h') 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. */ -- cgit