aboutsummaryrefslogtreecommitdiff
path: root/src/optics.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-03-23 17:35:13 -0500
committertlatorre <tlatorre@uchicago.edu>2019-03-23 17:35:13 -0500
commit555429b348c834d795221ce4c1cc90dd856bcaf8 (patch)
tree33a0f46488112f9faf84dc83d368f8b4ff0d4798 /src/optics.h
parentd1b5cf39aa7885bdade01d31ce22c5675df86e4f (diff)
downloadsddm-555429b348c834d795221ce4c1cc90dd856bcaf8.tar.gz
sddm-555429b348c834d795221ce4c1cc90dd856bcaf8.tar.bz2
sddm-555429b348c834d795221ce4c1cc90dd856bcaf8.zip
speed up the likelihood calculation by avoiding calls to acos()
This commit speeds up the likelihood calculation by eliminating most calls to acos(). This is done by updating the PMT response lookup tables to be as a function of the cosine of the angle between the photon and the PMT normal instead of the angle itself.
Diffstat (limited to 'src/optics.h')
0 files changed, 0 insertions, 0 deletions