From 1c8051e72f3c00384cb3e5b07d22b325ddcd2273 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 29 Jul 2019 12:33:59 -0500 Subject: 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. --- src/sno_charge.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sno_charge.h') 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); -- cgit