7#include "pflib/logging/Logging.h"
8#include "pflib/packing/Mask.h"
9#include "pflib/packing/Sample.h"
11namespace pflib::packing {
59 void from(std::span<uint32_t> data);
A frame readout from a DAQ Link.
Definition DAQLinkFrame.h:20
int adc_cm1
adc readout from common mode 1
Definition DAQLinkFrame.h:33
int event
event number for this readout-request
Definition DAQLinkFrame.h:27
Sample calib
sample from calibration channel
Definition DAQLinkFrame.h:54
int orbit
orbit id number
Definition DAQLinkFrame.h:29
void from(std::span< uint32_t > data)
Parse into this link frame from a std::span over 32-bit words.
Definition DAQLinkFrame.cxx:13
std::array< Sample, 36 > channels
array of samples from the channels
Definition DAQLinkFrame.h:51
DAQLinkFrame()=default
default constructor that does not do anything
int adc_cm0
adc readout from common mode 0
Definition DAQLinkFrame.h:31
int bx
id number for bunch crossing of this sample
Definition DAQLinkFrame.h:25
std::array< bool, 7 > corruption
Corruption checks on the data.
Definition DAQLinkFrame.h:48
logger get(const std::string &name)
Gets a logger with the input name for its channel.
Definition Logging.cxx:24
A single DAQ 32-bit sample.
Definition Sample.h:17