#include <RPCAMCRawToDigi.h>
Public Member Functions | |
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) override |
void | produce (edm::Event &event, edm::EventSetup const &setup) override |
RPCAMCRawToDigi (edm::ParameterSet const &config) | |
~RPCAMCRawToDigi () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | compute_crc16_64bit (std::uint16_t &crc, std::uint64_t const &word) |
static void | fillDescriptions (edm::ConfigurationDescriptions &descs) |
Protected Member Functions | |
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 |
bool | processCDFHeaders (int fed, std::uint64_t const *&word, std::uint64_t const *&word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters) const |
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 |
Protected Attributes | |
bool | calculate_crc_ |
bool | fill_counters_ |
edm::EDGetTokenT < FEDRawDataCollection > | raw_token_ |
std::unique_ptr< RPCAMCUnpacker > | rpc_unpacker_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 21 of file RPCAMCRawToDigi.h.
RPCAMCRawToDigi::RPCAMCRawToDigi | ( | edm::ParameterSet const & | config | ) |
Definition at line 20 of file RPCAMCRawToDigi.cc.
References fill_counters_, edm::ParameterSet::getParameter(), and raw_token_.
|
override |
Definition at line 35 of file RPCAMCRawToDigi.cc.
|
override |
Definition at line 47 of file RPCAMCRawToDigi.cc.
References rpc_unpacker_.
|
inlinestatic |
Definition at line 60 of file RPCAMCRawToDigi.h.
References evf::compute_crc_8bit().
Referenced by processBlocks(), processCDFHeaders(), and produce().
|
static |
Definition at line 37 of file RPCAMCRawToDigi.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, RPCAMCUnpacker::fillDescription(), HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 196 of file RPCAMCRawToDigi.cc.
References RPCAMCLinkCounters::add(), amc, RPCAMCLinkEvents::amc_amc13_block_incomplete_, RPCAMCLinkEvents::amc_amc13_crc_mismatch_, RPCAMCLinkEvents::amc_amc13_evc_bc_invalid_, RPCAMCLinkEvents::amc_amc13_length_incorrect_, RPCAMCLinkEvents::amc_amc13_size_inconsistent_, RPCAMCLinkEvents::amc_event_, RPCAMCLinkEvents::amc_number_mismatch_, RPCAMCLinkEvents::amc_payload_incomplete_, RPCAMCLinkEvents::amc_size_mismatch_, calculate_crc_, compute_crc16_64bit(), RPCAMCLinkEvents::fed_amc13_amc_number_invalid_, RPCAMCLinkEvents::fed_amc13_block_incomplete_, fill_counters_, rpcamc13::AMCPayload::getAMCHeader(), rpcamc::Header::getAMCNumber(), rpcamc13::AMCHeader::getAMCNumber(), rpcamc13::AMCPayload::getData(), rpcamc::Header::getDataLength(), rpcamc13::Header::getNAMC(), rpcamc13::AMCHeader::getSize(), rpcamc13::AMCHeader::getSizeInBlock(), rpcamc::Header::hasDataLength(), rpcamc13::AMCHeader::hasTotalSize(), rpcamc13::AMCPayload::insert(), rpcamc13::AMCHeader::isCRCOk(), rpcamc13::AMCHeader::isFirstBlock(), rpcamc13::AMCHeader::isLastBlock(), rpcamc13::AMCHeader::isLengthCorrect(), rpcamc13::AMCHeader::isValid(), RPCAMCLink::max_amcnumber_, jetCorrFactors_cfi::payload, rpcamc13::AMCPayload::setAMCHeader(), rpcamc13::AMCHeader::setCRCOk(), rpcamc13::AMCHeader::setLengthCorrect(), rpcamc13::AMCPayload::setValid(), and RPCAMCLink::wildcard_.
Referenced by produce().
|
protected |
Definition at line 120 of file RPCAMCRawToDigi.cc.
References RPCAMCLinkCounters::add(), calculate_crc_, FEDHeader::check(), compute_crc16_64bit(), TauDecayModes::dec, RPCAMCLinkEvents::fed_header_check_fail_, RPCAMCLinkEvents::fed_header_id_mismatch_, fill_counters_, LogDebug, FEDHeader::sourceID(), and RPCAMCLink::wildcard_.
Referenced by produce().
|
protected |
Definition at line 159 of file RPCAMCRawToDigi.cc.
References RPCAMCLinkCounters::add(), FEDTrailer::check(), TauDecayModes::dec, RPCAMCLinkEvents::fed_trailer_check_fail_, RPCAMCLinkEvents::fed_trailer_length_mismatch_, fill_counters_, FEDTrailer::fragmentLength(), LogDebug, and RPCAMCLink::wildcard_.
Referenced by produce().
|
override |
Definition at line 51 of file RPCAMCRawToDigi.cc.
References calculate_crc_, compute_crc16_64bit(), counters, FEDTrailer::crc(), FEDRawData::data(), RPCAMCLinkEvents::fed_event_, RPCAMCLinkEvents::fed_trailer_crc_mismatch_, fill_counters_, LogDebug, eostools::move(), processBlocks(), processCDFHeaders(), processCDFTrailers(), raw_token_, rpc_unpacker_, FEDRawData::size(), and RPCAMCLink::wildcard_.
|
protected |
Definition at line 55 of file RPCAMCRawToDigi.h.
Referenced by processBlocks(), processCDFHeaders(), and produce().
|
protected |
Definition at line 55 of file RPCAMCRawToDigi.h.
Referenced by processBlocks(), processCDFHeaders(), processCDFTrailers(), produce(), and RPCAMCRawToDigi().
|
protected |
Definition at line 53 of file RPCAMCRawToDigi.h.
Referenced by produce(), and RPCAMCRawToDigi().
|
protected |
Definition at line 57 of file RPCAMCRawToDigi.h.
Referenced by beginRun(), and produce().