aboutsummaryrefslogtreecommitdiff
path: root/convert-ratdb
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-09-04 16:51:41 -0500
committertlatorre <tlatorre@uchicago.edu>2018-09-04 16:51:41 -0500
commit93115467947f00f4714d1358a030267b28acaa7a (patch)
treece2fe50c4a96888b2e69d4b611fc81ca8368d5a7 /convert-ratdb
parentf06d6c8c5a16f1305a855e640a784983ab2a2474 (diff)
downloadsddm-93115467947f00f4714d1358a030267b28acaa7a.tar.gz
sddm-93115467947f00f4714d1358a030267b28acaa7a.tar.bz2
sddm-93115467947f00f4714d1358a030267b28acaa7a.zip
add a function to return the kahan sum of an array
For some reason the fit seems to have trouble with the kinetic energy. Basically, it seems to "converge" even though when you run the minimization again it finds a better minimum with a lower energy. I think this is likely due to the fact that for muons the kinetic energy only really affects the range of the muon and this is subject to error in the numerical integration. I also thought that maybe it could be due to roundoff error in the likelihood calculation, so I implemented the Kahan summation to try and reduce that. No idea if it's actually improving things, but I should benchmark it later to see.
Diffstat (limited to 'convert-ratdb')
0 files changed, 0 insertions, 0 deletions