1 #ifndef EventFilter_GEMRawToDigi_AMC13Event_h 2 #define EventFilter_GEMRawToDigi_AMC13Event_h 20 void setCDFHeader(uint8_t cb5, uint8_t Evt_ty, uint32_t LV1_id, uint16_t BX_id, uint16_t Source_id);
29 void addAMCheader(uint32_t AMC_size, uint8_t Blk_No, uint8_t AMC_No, uint16_t BoardID);
35 void setAMC13trailer(uint32_t CRC_amc13, uint8_t Blk_NoT, uint8_t LV1_idT, uint16_t BX_idT);
39 void setCDFTrailer(uint8_t cbA, uint32_t EvtLength, uint16_t CRC_cdf);
void addAMCpayload(const AMCdata &a)
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
std::vector< AMCdata > m_amcs
const std::vector< uint64_t > * getAMCheaders() 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
const std::vector< AMCdata > * getAMCpayloads() const
uint64_t getAMC13header() const
void setAMC13trailer(uint32_t CRC_amc13, uint8_t Blk_NoT, uint8_t LV1_idT, uint16_t BX_idT)