1 #ifndef EventFilter_RPCRawToDigi_RPCAMCRawToDigi_h 2 #define EventFilter_RPCRawToDigi_RPCAMCRawToDigi_h 28 static void compute_crc16_64bit(std::uint16_t & crc,
std::uint64_t const & word);
36 bool processCDFHeaders(
int fed
40 bool processCDFTrailers(
int fed,
unsigned int nwords
44 bool processBlocks(
int fed
48 , std::map<RPCAMCLink, rpcamc13::AMCPayload> & amc_payload)
const;
60 unsigned char const * uchars(reinterpret_cast<unsigned char const *>(&word));
61 for (
unsigned char const * uchar = uchars + 7
62 ; uchar >= uchars ; --uchar) {
67 #endif // EventFilter_RPCRawToDigi_RPCAMCRawToDigi_h
static void compute_crc16_64bit(std::uint16_t &crc, std::uint64_t const &word)
edm::EDGetTokenT< FEDRawDataCollection > raw_token_
def setup(process, global_tag, zero_tesla=False)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
unsigned long long uint64_t
unsigned short compute_crc_8bit(unsigned short crc, unsigned char data)
std::unique_ptr< RPCAMCUnpacker > rpc_unpacker_