LDMX Software
EventBuilder
include
EventBuilder
Event
PhysicsEventData.h
1
#ifndef PHYSICSEVENTDATA_H
2
#define PHYSICSEVENTDATA_H
3
4
#include "GenericDataBlock.h"
5
6
namespace
eventbuilder {
7
8
// Combined payload that keeps subsystem data encoded as generic blocks.
9
struct
PhysicsEventData
{
10
long
long
timestamp = 0;
11
long
long
event_id = 0;
12
13
// Generic, encoded blocks for downstream DAQ to decode per-subsystem
14
std::vector<GenericDataBlock> blocks;
15
16
// List of subsystem ids present in the assembled event
17
std::vector<uint64_t> systems_readout;
18
19
// member to reset the stored payload.
20
void
clear() {
21
timestamp = 0;
22
event_id = 0;
23
blocks.clear();
24
systems_readout.clear();
25
}
26
};
27
28
}
// namespace eventbuilder
29
30
#endif
eventbuilder::PhysicsEventData
Definition
PhysicsEventData.h:9
Generated by
1.12.0