aboutsummaryrefslogtreecommitdiff
path: root/src/dc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dc.h')
-rw-r--r--src/dc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dc.h b/src/dc.h
index fdd7b0b..c0c1791 100644
--- a/src/dc.h
+++ b/src/dc.h
@@ -33,6 +33,14 @@
#define DC_OWL_TRIGGER 0x100
#define DC_FTS 0x200
#define DC_ITC 0x400
+#define DC_BREAKDOWN 0x800
+
+/* 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. */
+#define MIN_NHIT_CRATE 20
/* Length of the sliding window used in the ITC cut (ns). */
#define ITC_TIME_WINDOW 93.0
@@ -83,6 +91,7 @@ int crate_isotropy(event *ev);
int qvnhit(event *ev);
double get_neck_tube_cut_time_diff(event *ev);
int is_neck_event(event *ev);
+int is_breakdown(event *ev);
int is_flasher(event *ev);
#endif