aboutsummaryrefslogtreecommitdiff
path: root/src/zdab_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zdab_utils.h')
-rw-r--r--src/zdab_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zdab_utils.h b/src/zdab_utils.h
index ee4df6e..a2804e1 100644
--- a/src/zdab_utils.h
+++ b/src/zdab_utils.h
@@ -20,6 +20,8 @@
#include "Record_Info.h"
#include <stdint.h>
#include <stdlib.h> /* for size_t */
+#include "event.h"
+#include "zebra.h"
// the builder won't put out events with NHIT > 10000
// (note that these are possible due to hardware problems)
@@ -412,6 +414,8 @@ void unpack_mctk(uint32_t *data, MCTKBank *b);
void unpack_ev(uint32_t *data, EVBank *b);
void unpack_pmt(uint32_t *data, PMTBank *b);
+size_t get_nhit(event *ev);
+int get_event(zebraFile *f, event *ev, zebraBank *bev);
int isOrphan(aPmtEventRecord *pmtRecord);
void swap_int32(int32_t *val_pt, int count);
void swap_int16(int16_t *val_pt, int count);