aboutsummaryrefslogtreecommitdiff
path: root/src/electron.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-01-27 22:18:28 -0600
committertlatorre <tlatorre@uchicago.edu>2019-01-27 22:18:28 -0600
commita6a750371fc20ab69fbab895273cf86ef7098b09 (patch)
tree651590536be51fe59298053f64576e21ebb9d921 /src/electron.h
parent1d77bacaae25d40d160f2bcd14ba3a355921213e (diff)
downloadsddm-a6a750371fc20ab69fbab895273cf86ef7098b09.tar.gz
sddm-a6a750371fc20ab69fbab895273cf86ef7098b09.tar.bz2
sddm-a6a750371fc20ab69fbab895273cf86ef7098b09.zip
update find_peaks algorithm to subtract previous rings
Previously the find peaks algorithm would ignore any PMT hits within the Cerenkov ring of previously found rings. This had the problem that occasionally the algorithm would repeatedly find the same direction due to hits outside of the Cerenkov cone. The new update was inspired by how SuperK does this and instead we "subtract" off the previous rings by subtracting the average qhs times e^(-cos(theta-1/n)/0.1) from each PMT for each previous ring. Based on some quick testing this seems a lot better than the previous algorithm, but still probably needs some tweaking.
Diffstat (limited to 'src/electron.h')
0 files changed, 0 insertions, 0 deletions