diff options
Diffstat (limited to 'src/event.h')
-rw-r--r-- | src/event.h | 23 |
1 files changed, 23 insertions, 0 deletions
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 <stdint.h> + +/* 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 |