From baa181a0a54e2e55006cadc4fae20276cd695ec0 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 9 Sep 2019 16:06:08 -0500 Subject: update muon cut This commit updates the muon cut to require at least 1 OWL hit which has a high charge and is early relative to nearby normal PMTs. This replaces the previous cut criteria which required 2 OWL hits to be early relative to the 10% percentile of all the normal PMT hits. This new cut should target external muons better although I still need to do some testing. In the future I'd like to optimize the distance at which PMTs are considered nearby. Currently I just use 3 meters which seemed like a good value based on some initial testing. --- src/dc.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/dc.h') diff --git a/src/dc.h b/src/dc.h index c0c1791..e999235 100644 --- a/src/dc.h +++ b/src/dc.h @@ -71,10 +71,9 @@ /* Minimum number of OWL PMTs which must be hit to be tagged as an incoming * muon. */ #define MUON_MIN_OWL_NHIT 5 -/* Minimum value for the maximum OWL QHS value. */ -#define MUON_OWL_QHS 20.0 -/* Percentile of PSUP PMT times to define early OWL hits. */ -#define MUON_OWL_TIME_PERCENTILE 0.1 +/* Maximum distance between OWL and normal PMTs when computing the median time + * and charge. */ +#define MUON_OWL_NEARBY_DISTANCE 300.0 /* QvNHIT ratio threshold. */ #define QRATIO_THRESHOLD 0.25 -- cgit