diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-03-26 14:49:19 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-03-26 14:49:19 -0500 |
commit | e4e65e47901f54fec3f8413522eebdd97c6ffe07 (patch) | |
tree | 9bb43e30de32dd63f489e831bde9b1d55545ff46 /src/sno_charge.h | |
parent | cecc9132b729e9c701211a317bff381f808fe505 (diff) | |
download | sddm-e4e65e47901f54fec3f8413522eebdd97c6ffe07.tar.gz sddm-e4e65e47901f54fec3f8413522eebdd97c6ffe07.tar.bz2 sddm-e4e65e47901f54fec3f8413522eebdd97c6ffe07.zip |
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.
Diffstat (limited to 'src/sno_charge.h')
-rw-r--r-- | src/sno_charge.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |