12#ifndef O2_MCH_RAW_SAMPA_HEADER
13#define O2_MCH_RAW_SAMPA_HEADER
170std::string
asString(
const SampaHeader& sh);
173 operator<<(std::ostream& os,
const SampaHeader& sh);
unsigned short int uint16_t
o2::raw::RawFileWriter * raw
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
Class for time synchronization of RawReader instances.
GLsizei const GLfloat * value
GLubyte GLubyte GLubyte GLubyte w
constexpr bool isSampaSync(uint64_t w)
Whether the 50 LSB bits match the sync word.
int computeHeaderParity(uint64_t value)
int computeHammingCode3(uint64_t value)
DualSampaChannelId getDualSampaChannelId(const SampaHeader &sh)
Return channel number (0..63)
std::string packetTypeName(SampaPacketType pkt)
packetTypeName returns a string representation of the given packet type.
int computeHeaderParity1(uint64_t value)
SampaHeader sampaHeartbeat(uint8_t elinkId, uint20_t bunchCrossing)
Heartbeat packet.
constexpr uint64_t sampaSyncWord
SampaHeader sampaSync()
The 50-bits Sampa SYNC word.
int computeHammingCode2(uint64_t value)
int computeHeaderParity4(uint64_t value)
@ DataTriggerTooEarlyNumWords
@ DataTruncatedTriggerTooEarly
int computeHammingCode1(uint64_t value)
int computeHeaderParity2(uint64_t value)
uint6_t DualSampaChannelId
int computeHeaderParity3(uint64_t value)
std::string asString(const SampaCluster &sc)
int computeHammingCode4(uint64_t value)
int computeHammingCode(uint64_t value)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
std::ostream & operator<<(std::ostream &stream, o2::InteractionRecord const &ir)