#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_, and raw_token_.
|
override |
Definition at line 35 of file RPCAMCRawToDigi.cc.
|
override |
Definition at line 47 of file RPCAMCRawToDigi.cc.
References rpc_unpacker_, writedatasetfile::run, and singleTopDQM_cfi::setup.
|
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(), submitPVResolutionJobs::desc, RPCAMCUnpacker::fillDescription(), ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 196 of file RPCAMCRawToDigi.cc.
References 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(), caHitNtupletGeneratorKernels::counters, RPCAMCLinkEvents::fed_amc13_amc_number_invalid_, RPCAMCLinkEvents::fed_amc13_block_incomplete_, fill_counters_, rpcamc::Header::getAMCNumber(), rpcamc13::AMCHeader::getAMCNumber(), rpcamc::Header::getDataLength(), rpcamc13::AMCHeader::getSize(), rpcamc13::AMCHeader::getSizeInBlock(), rpcamc::Header::hasDataLength(), rpcamc13::AMCHeader::hasTotalSize(), RecoTauValidation_cfi::header, rpcamc13::AMCHeader::isCRCOk(), rpcamc13::AMCHeader::isFirstBlock(), rpcamc13::AMCHeader::isLastBlock(), rpcamc13::AMCHeader::isLengthCorrect(), rpcamc13::AMCHeader::isValid(), RPCAMCLink::max_amcnumber_, jetsAK4_Puppi_cff::payload, and RPCAMCLink::wildcard_.
Referenced by produce().
|
protected |
Definition at line 120 of file RPCAMCRawToDigi.cc.
References calculate_crc_, compute_crc16_64bit(), caHitNtupletGeneratorKernels::counters, TauDecayModes::dec, RPCAMCLinkEvents::fed_header_check_fail_, RPCAMCLinkEvents::fed_header_id_mismatch_, fill_counters_, RecoTauValidation_cfi::header, LogDebug, and RPCAMCLink::wildcard_.
Referenced by produce().
|
protected |
Definition at line 159 of file RPCAMCRawToDigi.cc.
References FEDTrailer::check(), caHitNtupletGeneratorKernels::counters, 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(), caHitNtupletGeneratorKernels::counters, FEDTrailer::crc(), FEDRawData::data(), RPCAMCLinkEvents::fed_event_, RPCAMCLinkEvents::fed_trailer_crc_mismatch_, FEDRawDataCollection::FEDData(), fill_counters_, LogDebug, eostools::move(), processBlocks(), processCDFHeaders(), processCDFTrailers(), raw_token_, rpc_unpacker_, singleTopDQM_cfi::setup, 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().