aboutsummaryrefslogtreecommitdiff
path: root/src/dc.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-11-24 13:48:41 -0600
committertlatorre <tlatorre@uchicago.edu>2019-11-24 13:48:41 -0600
commita3fab763491be8d8d6e4040895615431827c4e58 (patch)
tree3335acaa376aafd75904eda5927bfe60f9864325 /src/dc.h
parent19adbadca5220babb99b6f0f8bbd36aaedee0049 (diff)
downloadsddm-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/dc.h')
0 files changed, 0 insertions, 0 deletions