From e4e65e47901f54fec3f8413522eebdd97c6ffe07 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 26 Mar 2019 14:49:19 -0500 Subject: small update to the charge likelihood calculation This commit updates the charge likelihood calculation to calculate: P(hit,q|n) = P(q|hit,n)*P(hit|n) This has almost no effect on the fit results, but is technically correct. --- src/sno_charge.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sno_charge.h') diff --git a/src/sno_charge.h b/src/sno_charge.h index 7f7caa2..141ad28 100644 --- a/src/sno_charge.h +++ b/src/sno_charge.h @@ -20,6 +20,7 @@ void init_charge(void); double get_log_pq(double q, int n); double get_pq(double q, int n); +double get_log_phit(int n); double get_log_pmiss(int n); double spe_pol2exp(double q); -- cgit