16#ifndef ALICEO2_DATAFORMATSTPC_SAC_H
17#define ALICEO2_DATAFORMATSTPC_SAC_H
25static constexpr uint32_t FEsPerInstance = 9;
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
uint32_t pktNumber
packet number of this front end card. Should always increase by 1
uint32_t crc32
CRC32 checksum.
uint32_t pktSize
total size of the packet in bytes, should always be 1024
static constexpr uint32_t TrailerWord
uint32_t feid
front end ID (card number in rack): 1 - 9
uint32_t trailer
trailer magic word, should always be TrailerWord
uint32_t timeStamp
time stamp
static constexpr uint32_t DataSize
static constexpr uint32_t PacketSize
static constexpr uint32_t HeaderWord
char dataWords[DataSize]
ASCI encoded SAC data.
uint32_t getInstance() const
std::string_view getDataWords()
uint32_t getFEIndex() const