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