aboutsummaryrefslogtreecommitdiff
path: root/src/dc.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-09-09 16:06:08 -0500
committertlatorre <tlatorre@uchicago.edu>2019-09-09 16:06:08 -0500
commitbaa181a0a54e2e55006cadc4fae20276cd695ec0 (patch)
treec99bb5644d771ce2c46482436c461b246d4217d2 /src/dc.h
parent5ef8451312f77bd39ed018d856bf8dc94449a2ce (diff)
downloadsddm-baa181a0a54e2e55006cadc4fae20276cd695ec0.tar.gz
sddm-baa181a0a54e2e55006cadc4fae20276cd695ec0.tar.bz2
sddm-baa181a0a54e2e55006cadc4fae20276cd695ec0.zip
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.
Diffstat (limited to 'src/dc.h')
-rw-r--r--src/dc.h7
1 files changed, 3 insertions, 4 deletions
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