diff options
Diffstat (limited to 'src/event.h')
-rw-r--r-- | src/event.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/event.h b/src/event.h index 70b8898..7c7f990 100644 --- a/src/event.h +++ b/src/event.h @@ -28,20 +28,37 @@ /* Struct to hold all data from a single event used for fitting. */ typedef struct pmt_hit { + /* Set to 1 if the PMT was hit. */ int hit; + /* ECA calibrated time (ns). */ float ept; + /* Time in nano-secs relative to event T0 (ns). */ float t; + /* ECA calibrated QHL (pedestal subtracted). */ float ehl; + /* ECA calibrated QHL (pedestal subtracted). */ float ehs; + /* ECA calibrated QLX (pedestal subtracted). */ float elx; + /* Integrated charge. */ float qhl; + /* Short-time integrated charge. */ float qhs; + /* Low-gain integrated charge. */ float qlx; + /* Uncalibrated high-gain, long integration charge. */ uint16_t qihl; + /* Uncalibrated high-gain, short integration charge. */ uint16_t qihs; + /* Uncalibrated low-gain, long integration charge. */ uint16_t qilx; + /* Bitmask used to disqualify hits from the likelihood calculation. See the + * PMT_FLAG_* bitmasks above. */ int flags; + /* Set of 1-bit PMT flags. See the KPF_* bitmasks in zdab_utils.h. */ int pf; + /* Non-walk corrected PMT time. */ + float pt1; } pmt_hit; typedef struct event { |