diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-08-27 14:16:38 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-08-27 14:16:38 -0500 |
commit | d38aa64a9de0af9ac886cd7f51ea5ff575399519 (patch) | |
tree | 3cdc065e6289ddf645eef46d981767dc47f218cd /src/pmt_response.h | |
parent | 83f1e08ded354daf0f71cc7ec67f8de23bf69ad2 (diff) | |
download | sddm-d38aa64a9de0af9ac886cd7f51ea5ff575399519.tar.gz sddm-d38aa64a9de0af9ac886cd7f51ea5ff575399519.tar.bz2 sddm-d38aa64a9de0af9ac886cd7f51ea5ff575399519.zip |
fix the fts cut
This commit fixes the FTS cut so that it returns 1 when the event is flagged as
failing the cut. Previously, the function returned the following:
not enough PMT pairs: 0 (fail)
median time > 6.8 ns: 0 (fail)
otherwise: 1 (pass)
This had two issues: the return value wasn't consistent with the rest of the
data cleaning cuts and it should pass if there aren't enough PMT pairs.
Now, I fixed the not enough PMT pairs case and made the return value consistent
with the rest of the data cleaning cuts:
not enough PMT pairs: 0 (pass)
median time > 6.8 ns: 1 (fail)
otherwise: 0 (pass)
Diffstat (limited to 'src/pmt_response.h')
0 files changed, 0 insertions, 0 deletions