Go to the documentation of this file. 1 #ifndef EventFilter_RPCRawToDigi_RPCAMCRawToDigi_h
2 #define EventFilter_RPCRawToDigi_RPCAMCRawToDigi_h
50 std::map<RPCAMCLink, rpcamc13::AMCPayload> &amc_payload)
const;
62 unsigned char const *uchars(reinterpret_cast<unsigned char const *>(&
word));
63 for (
unsigned char const *uchar = uchars + 7; uchar >= uchars; --uchar) {
68 #endif // EventFilter_RPCRawToDigi_RPCAMCRawToDigi_h
void beginRun(edm::Run const &run, edm::EventSetup const &setup) override
static void fillDescriptions(edm::ConfigurationDescriptions &descs)
void produce(edm::Event &event, edm::EventSetup const &setup) override
bool processCDFTrailers(int fed, unsigned int nwords, std::uint64_t const *&word, std::uint64_t const *&word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters) const
bool processBlocks(int fed, std::uint64_t const *&word, std::uint64_t const *word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters, std::map< RPCAMCLink, rpcamc13::AMCPayload > &amc_payload) const
edm::EDGetTokenT< FEDRawDataCollection > raw_token_
static void compute_crc16_64bit(std::uint16_t &crc, std::uint64_t const &word)
~RPCAMCRawToDigi() override
std::unique_ptr< RPCAMCUnpacker > rpc_unpacker_
bool processCDFHeaders(int fed, std::uint64_t const *&word, std::uint64_t const *&word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters) const
RPCAMCRawToDigi(edm::ParameterSet const &config)
unsigned long long uint64_t
unsigned short compute_crc_8bit(unsigned short crc, unsigned char data)