diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-07-29 12:33:59 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-07-29 12:33:59 -0500 |
commit | 1c8051e72f3c00384cb3e5b07d22b325ddcd2273 (patch) | |
tree | fd74797ad46e7741841138f0d63921a222a419d9 /src/sno_charge.h | |
parent | c00d326e4951e0384fa7b26861e1b89535c1e288 (diff) | |
download | sddm-1c8051e72f3c00384cb3e5b07d22b325ddcd2273.tar.gz sddm-1c8051e72f3c00384cb3e5b07d22b325ddcd2273.tar.bz2 sddm-1c8051e72f3c00384cb3e5b07d22b325ddcd2273.zip |
flag PMT charges below qlo
This commit updates get_event() to flag PMT charges below qlo, which is the
minimum charge value that we compute the charge PDFs for. This is to prevent
the likelihood from returning nan.
Diffstat (limited to 'src/sno_charge.h')
-rw-r--r-- | src/sno_charge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sno_charge.h b/src/sno_charge.h index 549ca2c..7c6513d 100644 --- a/src/sno_charge.h +++ b/src/sno_charge.h @@ -17,6 +17,8 @@ #ifndef SNO_CHARGE_H #define SNO_CHARGE_H +double get_qlo(void); +double get_qhi(void); double get_most_likely_mean_pe(double q); void init_charge(void); double get_log_pq(double q, int n); |