aboutsummaryrefslogtreecommitdiff
path: root/event.h
blob: ecb498d7472cb02d0d30a9d176f750cca648109e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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