From 83f1e08ded354daf0f71cc7ec67f8de23bf69ad2 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 27 Aug 2019 14:16:11 -0500 Subject: add the in time channel data cleaning cut from SNO --- src/dc.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dc.h') diff --git a/src/dc.h b/src/dc.h index 6569e0f..fdd7b0b 100644 --- a/src/dc.h +++ b/src/dc.h @@ -32,6 +32,13 @@ #define DC_OWL 0x80 #define DC_OWL_TRIGGER 0x100 #define DC_FTS 0x200 +#define DC_ITC 0x400 + +/* Length of the sliding window used in the ITC cut (ns). */ +#define ITC_TIME_WINDOW 93.0 +/* Fraction of hits which must be in a sliding window of 93 ns to pass the ITC + * cut. */ +#define ITC_TIME_FRACTION 0.6 /* Height of PMTs which are considered to be at the "bottom" of the detector * for the neck cut. Comes from the SNOOP definition of a neck event in SNO. */ @@ -64,6 +71,7 @@ /* QvNHIT ratio threshold. */ #define QRATIO_THRESHOLD 0.25 +int is_itc(event *ev); int is_fts(event *ev); int is_owl_trigger(event *ev); int is_owl(event *ev); -- cgit