From 52133d6cc594a4a7780accdf070b61eb7f6c5628 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 10 Jun 2019 14:58:18 -0500 Subject: add a bunch of SNO data quality cuts This commit adds the following data quality cuts used in SNOMAN: - neck - qvnhit - crate isotropy - junk Still need to test these. --- 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 503fb25..9df82c8 100644 --- a/src/dc.h +++ b/src/dc.h @@ -18,7 +18,15 @@ #define DC_H #include "event.h" +#include "zebra.h" +/* QvNHIT ratio threshold. */ +#define QRATIO_THRESHOLD 0.25 + +int junk_cut(zebraFile *f, zebraBank *bmast, zebraBank *bev); +int crate_isotropy(event *ev); +int qvnhit(event *ev); +int is_neck_event(event *ev); int is_flasher(event *ev); #endif -- cgit