aboutsummaryrefslogtreecommitdiff
path: root/src/zdab_utils.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/zdab_utils.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/zdab_utils.h')
-rw-r--r--src/zdab_utils.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/zdab_utils.h b/src/zdab_utils.h
index a2804e1..1c138b9 100644
--- a/src/zdab_utils.h
+++ b/src/zdab_utils.h
@@ -50,6 +50,12 @@
#define KMC_MCVX 2
#define KMC_MCGN 1
+/* Status bits for the EV bank. */
+#define KEV_ORPHAN 0 /* Event contains orphan data. */
+#define KEV_TSLH 1 /* Event contains TSLH information. */
+#define KEV_HCA 2 /* Event contains HCA information. */
+#define KEV_MC_GE_ERR 3 /* Event produced from MC that had geometry errors suppressed. */
+
/* Links for the EV bank. */
#define KEV_NPFA 32
#define KEV_NECL 31
@@ -84,6 +90,17 @@
#define KEV_PT 2
#define KEV_FT 1
+/* Status bits for the MAST bank. */
+
+#define KMAST_PMT 1 /* PMT data. */
+#define KMAST_PERM 2 /* Permanent data of any kind e.g. Run Header. */
+#define KMAST_NCD 3 /* NCD data. */
+#define KMAST_CMA 4 /* CMA data. */
+#define KMAST_ECA 5 /* ECA data. */
+#define KMAST_SUBRUN 6 /* Sub-run data, i.e. permanent bank data that is duplicated
+ at the start of the second and subsequent sub runs to
+ ensure the context is maintained across file boundaries. */
+
/* Links for the MAST bank. */
#define KMAST_RLOG 25 /* Runlog data. */
#define KMAST_RLAI 24 /* Runlog analysis data. */