aboutsummaryrefslogtreecommitdiff
path: root/src/dc.h
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-09-24 14:10:45 -0500
committertlatorre <tlatorre@uchicago.edu>2019-09-24 14:10:45 -0500
commit9c422dff8e8c06c1d14583274822f665391284ae (patch)
tree07405e79896b4292bad520b2c36a1ee83bf8b3b0 /src/dc.h
parent8fcc9a0b44ebde54a1ae3679c572833772823060 (diff)
downloadsddm-9c422dff8e8c06c1d14583274822f665391284ae.tar.gz
sddm-9c422dff8e8c06c1d14583274822f665391284ae.tar.bz2
sddm-9c422dff8e8c06c1d14583274822f665391284ae.zip
update breakdown cut to include a cut on the number of calibrated PMT hits
This commit updates the breakdown cut to flag any event in which less than 70% of the PMT hits have a good TAC value.
Diffstat (limited to 'src/dc.h')
-rw-r--r--src/dc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dc.h b/src/dc.h
index e999235..248a6e0 100644
--- a/src/dc.h
+++ b/src/dc.h
@@ -38,9 +38,12 @@
/* Minimum number of hits required for a crate to be considered the source of a
* breakdown. */
#define MIN_NHIT_BREAKDOWN 256
-/* Minimum number of hits for a crate to calculate the median TAC in the
- * breakdown cut. */
+/* Minimum number of calibrated hits for a crate to calculate the median TAC in
+ * the breakdown cut. */
#define MIN_NHIT_CRATE 20
+/* Fraction of PMT hits which must have a good TAC value in order to pass the
+ * cut. */
+#define BREAKDOWN_CAL_FRAC 0.7
/* Length of the sliding window used in the ITC cut (ns). */
#define ITC_TIME_WINDOW 93.0