#ifndef EVENT_H
#define EVENT_H
#include <stdint.h>
#include "pmt.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[MAX_PMTS];
} event;
#endif