diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-06-14 13:26:21 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-06-14 13:26:21 -0500 |
commit | b633b9fc657abc6889d8966b28e8cf5325dfa3a3 (patch) | |
tree | 0abbdd28ac50e7d4ad2d573b113b0c846926b952 /src/event.h | |
parent | b42be9b73cc2a9abf48727bb4269156ddcdb0c7d (diff) | |
download | sddm-b633b9fc657abc6889d8966b28e8cf5325dfa3a3.tar.gz sddm-b633b9fc657abc6889d8966b28e8cf5325dfa3a3.tar.bz2 sddm-b633b9fc657abc6889d8966b28e8cf5325dfa3a3.zip |
flag hits with bad or railed charge
This commit updates the get_event() function to flag any hits which have a
non-zero best charge status word. This essentially gets set when *both* QHS and
QLX are either bad or railed.
I also set this bit if *just* QHS is railed or below 300 since the current
charge model was only set up for QHS. In the future, it would be nice to
instead use the best charge (either QHS or QLX) in the likelihood function. To
do that I need to double check how QLX is normalized and if the current charge
model would work for QLX too.
Diffstat (limited to 'src/event.h')
0 files changed, 0 insertions, 0 deletions