diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-11-24 13:48:41 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-11-24 13:48:41 -0600 |
commit | a3fab763491be8d8d6e4040895615431827c4e58 (patch) | |
tree | 3335acaa376aafd75904eda5927bfe60f9864325 /src/release.c | |
parent | 19adbadca5220babb99b6f0f8bbd36aaedee0049 (diff) | |
download | sddm-a3fab763491be8d8d6e4040895615431827c4e58.tar.gz sddm-a3fab763491be8d8d6e4040895615431827c4e58.tar.bz2 sddm-a3fab763491be8d8d6e4040895615431827c4e58.zip |
update get_expected_charge to not skip calculating the charge if the angle is large
Previously to achieve a large speedup in the likelihood calculation I added a
line to skip calculating the charge if:
abs((cos(theta)-cos_theta_cerenkov)/(sin_theta*theta0)) > 5
However I noticed that this was causing discontinuities in the likelihood
function when fitting low energy muons so I'm putting it behind a compile time
flag for now.
Diffstat (limited to 'src/release.c')
0 files changed, 0 insertions, 0 deletions