7#include "pflib/packing/Mask.h"
8#include "pflib/packing/Sample.h"
10namespace pflib::packing {
47 void from(std::span<uint32_t> data);
A frame readout from a DAQ Link.
Definition DAQLinkFrame.h:19
int adc_cm1
adc readout from common mode 1
Definition DAQLinkFrame.h:37
int event
event number for this readout-request
Definition DAQLinkFrame.h:23
bool first_event
flag if this is the first event
Definition DAQLinkFrame.h:33
Sample calib
sample from calibration channel
Definition DAQLinkFrame.h:42
int orbit
orbit id number
Definition DAQLinkFrame.h:25
void from(std::span< uint32_t > data)
Parse into this link frame from a std::span over 32-bit words.
Definition DAQLinkFrame.cxx:11
std::array< Sample, 36 > channels
array of samples from the channels
Definition DAQLinkFrame.h:40
DAQLinkFrame()=default
default constructor that does not do anything:w
bool first_quarter_err
error present in first quarter (ch0-17 and cm)
Definition DAQLinkFrame.h:29
int adc_cm0
adc readout from common mode 0
Definition DAQLinkFrame.h:35
bool counter_err
error present in one of the counters
Definition DAQLinkFrame.h:27
int bx
id number for bunch crossing of this sample
Definition DAQLinkFrame.h:21
bool second_quarter_err
error present in second quarter (calib and ch18-35)
Definition DAQLinkFrame.h:31
A single DAQ 32-bit sample.
Definition Sample.h:16