diff options
Diffstat (limited to 'src/dc.h')
-rw-r--r-- | src/dc.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -28,6 +28,21 @@ #define DC_QVNHIT 0x8 #define DC_NECK 0x10 #define DC_FLASHER 0x20 +#define DC_ESUM 0x40 +#define DC_OWL 0x80 +#define DC_OWL_TRIGGER 0x100 +#define DC_FTS 0x200 + +/* Delta-t threshold for PMT pairs in the FTS cut (ns). */ +#define FTS_DT_THRESH 25.0 +/* Distance threshold for PMT pairs in the FTS cut (cm). */ +#define FTS_DIST_THRESH 300.0 +/* Minimum number of PMT pairs required for the FTS cut. */ +#define FTS_COUNT_THRESH 15 +/* For the FTS cut the median time difference between PMT pairs within 3 meters + * is computed and if this difference is greater than FTS_MEDIAN_CUT the event + * doesn't pass. */ +#define FTS_MEDIAN_CUT 6.8 /* Minimum number of normal PMTs which must be hit to be tagged as an incoming * muon. */ @@ -43,6 +58,10 @@ /* QvNHIT ratio threshold. */ #define QRATIO_THRESHOLD 0.25 +int is_fts(event *ev); +int is_owl_trigger(event *ev); +int is_owl(event *ev); +int is_esum(event *ev); uint32_t get_dc_word(event *ev, zebraFile *f, zebraBank *bmast, zebraBank *bev); int is_muon(event *ev); int junk_cut(zebraFile *f, zebraBank *bmast, zebraBank *bev); |