aboutsummaryrefslogtreecommitdiff
path: root/src/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.h')
-rw-r--r--src/event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.h b/src/event.h
index ecb498d..b530347 100644
--- a/src/event.h
+++ b/src/event.h
@@ -2,6 +2,7 @@
#define EVENT_H
#include <stdint.h>
+#include "pmt.h"
/* Struct to hold all data from a single event used for fitting. */
@@ -17,7 +18,7 @@ typedef struct pmt_hit {
typedef struct event {
int run;
uint32_t gtid;
- pmt_hit pmt_hits[10000];
+ pmt_hit pmt_hits[MAX_PMTS];
} event;
#endif