diff options
| author | tlatorre <tlatorre@uchicago.edu> | 2019-08-27 14:16:11 -0500 |
|---|---|---|
| committer | tlatorre <tlatorre@uchicago.edu> | 2019-08-27 14:16:11 -0500 |
| commit | 83f1e08ded354daf0f71cc7ec67f8de23bf69ad2 (patch) | |
| tree | 8069b2e2831afd1d955ea900a17552f768d727ee /src/dc.h | |
| parent | 265bee5b44fedc85992b8eecb1c5ad93a33bb9ea (diff) | |
| download | sddm-83f1e08ded354daf0f71cc7ec67f8de23bf69ad2.tar.gz sddm-83f1e08ded354daf0f71cc7ec67f8de23bf69ad2.tar.bz2 sddm-83f1e08ded354daf0f71cc7ec67f8de23bf69ad2.zip | |
add the in time channel data cleaning cut from SNO
Diffstat (limited to 'src/dc.h')
| -rw-r--r-- | src/dc.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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); |
