From 5981999abf49c9532c18783a448d161dbcaee56f Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 9 Sep 2019 11:20:46 -0500 Subject: lower QLX threshold from 4000 -> 1000 in is_flasher --- src/dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dc.c b/src/dc.c index 30d089a..3701bf8 100644 --- a/src/dc.c +++ b/src/dc.c @@ -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); -- cgit