diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-09-09 11:20:46 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-09-09 11:20:46 -0500 |
commit | 5981999abf49c9532c18783a448d161dbcaee56f (patch) | |
tree | 7fbf813f64730527739464595f7b74ca1977d750 | |
parent | d5b1416980f5bf23fe29a0a173dd3acfd8c8c3c8 (diff) | |
download | sddm-5981999abf49c9532c18783a448d161dbcaee56f.tar.gz sddm-5981999abf49c9532c18783a448d161dbcaee56f.tar.bz2 sddm-5981999abf49c9532c18783a448d161dbcaee56f.zip |
lower QLX threshold from 4000 -> 1000 in is_flasher
-rw-r--r-- | src/dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -875,14 +875,14 @@ int is_flasher(event *ev) * respect to neighboring PMTs. */ if ((qhs_pc[index_qhs[nhit-1]] < 4000 || qhs_pc[index_qhs[nhit-2]] > 800) && (qhl_pc[index_qhl[nhit-1]] < 4000 || qhl_pc[index_qhl[nhit-2]] > 800) && - (qlx_pc[index_qlx[nhit-1]] < 4000 || qlx_pc[index_qlx[nhit-2]] > 800) && + (qlx_pc[index_qlx[nhit-1]] < 1000 || qlx_pc[index_qlx[nhit-2]] > 800) && !is_slot_early(ev, crate*512 + card*32 + channel)) continue; if (qhs_pc[index_qhs[nhit-1]] > 4000) { channel = channel_pc[index_qhs[nhit-1]]; } else if (qhl_pc[index_qhl[nhit-1]] > 4000) { channel = channel_pc[index_qhl[nhit-1]]; - } else if (qlx_pc[index_qlx[nhit-1]] > 4000) { + } else if (qlx_pc[index_qlx[nhit-1]] > 1000) { channel = channel_pc[index_qlx[nhit-1]]; } COPY(flasher_pos,pmts[crate*512 + card*32 + channel].pos); |