aboutsummaryrefslogtreecommitdiff
path: root/src/dc.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-06-10 14:58:18 -0500
committertlatorre <tlatorre@uchicago.edu>2019-06-10 14:58:18 -0500
commit52133d6cc594a4a7780accdf070b61eb7f6c5628 (patch)
treec8b8c60078a9eb98ab9df89d8bef1dddc1ab6b10 /src/dc.h
parent625dfc21d9588ec589bd28c009f56ce1d4792984 (diff)
downloadsddm-52133d6cc594a4a7780accdf070b61eb7f6c5628.tar.gz
sddm-52133d6cc594a4a7780accdf070b61eb7f6c5628.tar.bz2
sddm-52133d6cc594a4a7780accdf070b61eb7f6c5628.zip
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.
Diffstat (limited to 'src/dc.h')
-rw-r--r--src/dc.h8
1 files changed, 8 insertions, 0 deletions
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