3#include "pflib/packing/ECONDEventPacket.h"
4#include "pflib/packing/Reader.h"
6namespace pflib::packing {
45 void from(std::span<uint32_t> frame);
Single ECON-D event packet.
Definition ECONDEventPacket.h:30
Reading a raw data stream with some underlying backend.
Definition Reader.h:19
Unpack an event packet that includes an extra header inserted by the software.
Definition SoftWrappedECONDEventPacket.h:21
void from(std::span< uint32_t > frame)
unpack the given data into this structure
Definition SoftWrappedECONDEventPacket.cxx:11
SoftWrappedECONDEventPacket(std::size_t n_links)
provide number of links (eRx) on the ECOND
Definition SoftWrappedECONDEventPacket.cxx:8
std::array< bool, 1 > corruption
Corruption bits.
Definition SoftWrappedECONDEventPacket.h:35
ECONDEventPacket data
actual data packet from ECOND
Definition SoftWrappedECONDEventPacket.h:43
int econ_id
ID specifying ECOND we are reading.
Definition SoftWrappedECONDEventPacket.h:39
mutable::pflib::logging::logger the_log_
handle to logging source
Definition SoftWrappedECONDEventPacket.h:23
int il1a
L1A index for this packet.
Definition SoftWrappedECONDEventPacket.h:37
Reader & read(Reader &r)
read into this structure from the input Reader
Definition SoftWrappedECONDEventPacket.cxx:42
bool is_soi
whether this packet is the sample-of-interest
Definition SoftWrappedECONDEventPacket.h:41
logger get(const std::string &name)
Gets a logger with the input name for its channel.
Definition Logging.cxx:24