diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-06-15 14:03:16 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-06-15 14:03:16 -0500 |
commit | fec06567159803bab6531df4800222318b9cfac0 (patch) | |
tree | cb40ae4fe7fe70e7358b7dd53dd180e55cc1619e /src/dc.h | |
parent | 9a1605a75de106c9903f06ab56500574087cde77 (diff) | |
download | sddm-fec06567159803bab6531df4800222318b9cfac0.tar.gz sddm-fec06567159803bab6531df4800222318b9cfac0.tar.bz2 sddm-fec06567159803bab6531df4800222318b9cfac0.zip |
add a bunch more data cleaning cuts from SNO
This commit adds the following data cleaning cuts:
- FTS
- OWL trigger
- OWL
- ESUM
Diffstat (limited to 'src/dc.h')
-rw-r--r-- | src/dc.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -28,6 +28,21 @@ #define DC_QVNHIT 0x8 #define DC_NECK 0x10 #define DC_FLASHER 0x20 +#define DC_ESUM 0x40 +#define DC_OWL 0x80 +#define DC_OWL_TRIGGER 0x100 +#define DC_FTS 0x200 + +/* Delta-t threshold for PMT pairs in the FTS cut (ns). */ +#define FTS_DT_THRESH 25.0 +/* Distance threshold for PMT pairs in the FTS cut (cm). */ +#define FTS_DIST_THRESH 300.0 +/* Minimum number of PMT pairs required for the FTS cut. */ +#define FTS_COUNT_THRESH 15 +/* For the FTS cut the median time difference between PMT pairs within 3 meters + * is computed and if this difference is greater than FTS_MEDIAN_CUT the event + * doesn't pass. */ +#define FTS_MEDIAN_CUT 6.8 /* Minimum number of normal PMTs which must be hit to be tagged as an incoming * muon. */ @@ -43,6 +58,10 @@ /* QvNHIT ratio threshold. */ #define QRATIO_THRESHOLD 0.25 +int is_fts(event *ev); +int is_owl_trigger(event *ev); +int is_owl(event *ev); +int is_esum(event *ev); uint32_t get_dc_word(event *ev, zebraFile *f, zebraBank *bmast, zebraBank *bev); int is_muon(event *ev); int junk_cut(zebraFile *f, zebraBank *bmast, zebraBank *bev); |