11 return (static_cast<uint64_t>(
m_cb5 & 0x0f) << 60) |
20 m_cb5 = 0x0f & (word >> 60);
22 m_LV1_id = 0x00ffffff & (word >> 32);
23 m_BX_id = 0x0fff & (word >> 20);
41 return (static_cast<uint64_t>(
m_CalTyp & 0x0f) << 56) |
50 m_nAMC = 0x0f & (word >> 52);
78 (
static_cast<uint64_t>(AMC_size & 0x00ffffff) << 32) |
79 (
static_cast<uint64_t>(Blk_No & 0xff) << 20) |
80 (
static_cast<uint64_t>(AMC_No & 0x0f) << 16) |
81 (
static_cast<uint64_t>(BoardID & 0xffff));
117 return (static_cast<uint64_t>(
m_cbA & 0x0f) << 60) |
124 m_cbA = 0x0f & (word >> 60);
void addAMCheader(uint64_t word)
void setCDFHeader(uint8_t cb5, uint8_t Evt_ty, uint32_t LV1_id, uint16_t BX_id, uint16_t Source_id)
void setAMC13header(uint8_t CalTyp, uint8_t nAMC, uint32_t OrN, uint8_t cb0)
uint64_t getCDFTrailer() const
uint64_t getCDFHeader() const
unsigned long long uint64_t
std::vector< uint64_t > m_amcHeaders
void setCDFTrailer(uint8_t cbA, uint32_t EvtLength, uint16_t CRC_cdf)
uint64_t getAMC13trailer() const
uint64_t getAMC13header() const
void setAMC13trailer(uint32_t CRC_amc13, uint8_t Blk_NoT, uint8_t LV1_idT, uint16_t BX_idT)