aboutsummaryrefslogtreecommitdiff
path: root/src/event.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-09-10 14:35:08 -0500
committertlatorre <tlatorre@uchicago.edu>2019-09-10 14:35:08 -0500
commitf7eacbb52db769634e6de5f36b9b2f4f9c84c6f2 (patch)
tree7ea641c05ed069db3e19ae544ca7f16d8503d358 /src/event.h
parentf8ff1634bea94d92c64001d2070001dc7051bfcd (diff)
downloadsddm-f7eacbb52db769634e6de5f36b9b2f4f9c84c6f2.tar.gz
sddm-f7eacbb52db769634e6de5f36b9b2f4f9c84c6f2.tar.bz2
sddm-f7eacbb52db769634e6de5f36b9b2f4f9c84c6f2.zip
add best_uncal_q to the pmt_hit struct and use it in the muon cut
This commit adds a field to the pmt_hit struct called best_uncal_q which represents the best ECA calibrated charge (in units of QHS counts above pedestals). This is then used in the muon data cleaning cut.
Diffstat (limited to 'src/event.h')
-rw-r--r--src/event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event.h b/src/event.h
index c07d648..4776527 100644
--- a/src/event.h
+++ b/src/event.h
@@ -42,6 +42,8 @@ typedef struct pmt_hit {
float ehs;
/* ECA calibrated QLX (pedestal subtracted). */
float elx;
+ /* Best ECA calibrated charge (in units of EHS). */
+ float best_uncal_q;
/* Best charge. */
float q;
/* Integrated charge. */