From 24c8bcfe7f76b20124e2862ea050f815c0f768e7 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 14 Aug 2018 10:08:27 -0500 Subject: move everything to src directory --- src/event.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/event.h (limited to 'src/event.h') diff --git a/src/event.h b/src/event.h new file mode 100644 index 0000000..ecb498d --- /dev/null +++ b/src/event.h @@ -0,0 +1,23 @@ +#ifndef EVENT_H +#define EVENT_H + +#include + +/* Struct to hold all data from a single event used for fitting. */ + +typedef struct pmt_hit { + int hit; + float t; + float qhl; + float qhs; + float qlx; + int flags; +} pmt_hit; + +typedef struct event { + int run; + uint32_t gtid; + pmt_hit pmt_hits[10000]; +} event; + +#endif -- cgit