Go to the source code of this file.
Namespaces | |
hgcal | |
hgcal::backend | |
hgcal::econd | |
Enumerations | |
enum | hgcal::backend::ECONDPacketStatus { hgcal::backend::Normal = 0x0, hgcal::backend::PayloadCRCError = 0x1, hgcal::backend::EventIDMismatch = 0x2, hgcal::backend::EBTimeout = 0x4, hgcal::backend::BCIDOrbitIDMismatch = 0x5, hgcal::backend::MainBufferOverflow = 0x6, hgcal::backend::InactiveECOND = 0x7 } |
enum | hgcal::backend::SlinkEmulationFlag { hgcal::backend::Subsystem = 0, hgcal::backend::SlinkRocketSenderCore = 1, hgcal::backend::DTH = 2 } |
Functions | |
std::vector< uint32_t > | hgcal::backend::buildCaptureBlockHeader (uint32_t bunch_crossing, uint32_t event_counter, uint32_t orbit_counter, const std::vector< ECONDPacketStatus > &econd_statuses) |
uint32_t | hgcal::econd::buildIdleWord (uint8_t bufStat, uint8_t err, uint8_t rr, uint32_t progPattern) |
uint32_t | hgcal::backend::buildSlinkContentId (SlinkEmulationFlag, uint8_t l1a_subtype, uint16_t l1a_fragment_cnt) |
std::vector< uint32_t > | hgcal::backend::buildSlinkHeader (uint8_t boe, uint8_t v, uint64_t global_event_id, uint32_t content_id, uint32_t fed_id) |
uint16_t | hgcal::backend::buildSlinkRocketStatus (bool fed_crc_err, bool slinkrocket_crc_err, bool source_id_err, bool sync_lost, bool fragment_trunc) |
std::vector< uint32_t > | hgcal::backend::buildSlinkTrailer (uint8_t eoe, uint16_t daqcrc, uint32_t event_length, uint16_t bxid, uint32_t orbit_id, uint16_t crc, uint16_t status) |
std::vector< uint32_t > | hgcal::econd::eRxSubPacketHeader (uint8_t stat, uint8_t ham, bool bitE, uint16_t common_mode0, uint16_t common_mode1, const ERxChannelEnable &channel_enable) |
std::vector< uint32_t > | hgcal::econd::eRxSubPacketHeader (uint8_t stat, uint8_t ham, bool bitE, uint16_t common_mode0, uint16_t common_mode1, uint64_t channels_map) |
std::vector< uint32_t > | hgcal::econd::eventPacketHeader (uint16_t header, uint16_t payload, bool bitP, bool bitE, uint8_t ht, uint8_t ebo, bool bitM, bool bitT, uint8_t hamming, uint16_t bx, uint16_t l1a, uint8_t orb, bool bitS, uint8_t RR) |
std::vector< uint32_t > | hgcal::econd::produceERxData (const ERxChannelEnable &, const ERxData &, bool passZS, bool passZSm1, bool hasToA, bool char_mode) |