#include <RPCCPPFUnpacker.h>
Public Member Functions | |
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) override |
void | produce (edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload) override |
RPCCPPFUnpacker (edm::ParameterSet const &, edm::ConsumesCollector, edm::ProducesCollector) | |
Public Member Functions inherited from RPCAMCUnpacker | |
std::vector< int > const & | getFeds () const |
RPCAMCUnpacker (edm::ParameterSet const &, edm::ConsumesCollector, edm::ProducesCollector) | |
virtual | ~RPCAMCUnpacker () |
Protected Member Functions | |
bool | processCPPF (RPCAMCLink const &link, rpcamc13::AMCPayload const &payload, RPCAMCLinkCounters &counters, std::set< std::pair< RPCDetId, RPCDigi > > &rpc_digis, l1t::CPPFDigiCollection &rpc_cppf_digis) const |
void | processRXRecord (RPCAMCLink link, unsigned int bx_counter_mod, rpccppf::RXRecord const &record, RPCAMCLinkCounters &counters, std::set< std::pair< RPCDetId, RPCDigi > > &rpc_digis, int bx_min, int bx_max) const |
void | processTXRecord (RPCAMCLink link, unsigned int block, unsigned int word, rpccppf::TXRecord const &record, l1t::CPPFDigiCollection &rpc_cppf_digis) const |
void | putRPCDigis (edm::Event &event, std::set< std::pair< RPCDetId, RPCDigi > > const &digis) const |
Protected Attributes | |
int | bx_max_ |
int | bx_min_ |
edm::ESHandle< RPCAMCLinkMap > | es_cppf_link_map_ |
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd > | es_cppf_link_map_br_token_ |
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd > | es_cppf_link_map_token_ |
edm::ESWatcher< RPCCPPFLinkMapRcd > | es_cppf_link_map_watcher_ |
edm::ESHandle< RPCLBLinkMap > | es_lb_link_map_ |
edm::ESGetToken< RPCLBLinkMap, RPCLBLinkMapRcd > | es_lb_link_map_token_ |
bool | fill_counters_ |
Protected Attributes inherited from RPCAMCUnpacker | |
std::vector< int > | feds_ |
Additional Inherited Members | |
Static Public Member Functions inherited from RPCAMCUnpacker | |
static void | fillDescription (edm::ParameterSetDescription &desc) |
Definition at line 26 of file RPCCPPFUnpacker.h.
RPCCPPFUnpacker::RPCCPPFUnpacker | ( | edm::ParameterSet const & | config, |
edm::ConsumesCollector | consumesCollector, | ||
edm::ProducesCollector | producesCollector | ||
) |
Definition at line 17 of file RPCCPPFUnpacker.cc.
References fill_counters_, and edm::ProducesCollector::produces().
|
overridevirtual |
Reimplemented from RPCAMCUnpacker.
Definition at line 35 of file RPCCPPFUnpacker.cc.
References edm::ESWatcher< T >::check(), es_cppf_link_map_br_token_, es_cppf_link_map_watcher_, l1tstage2emulator_dqm_sourceclient-live_cfg::feds, RPCAMCUnpacker::feds_, and singleTopDQM_cfi::setup.
|
protected |
Definition at line 69 of file RPCCPPFUnpacker.cc.
References bx_max_, bx_min_, counters, TauDecayModes::dec, rpcmp7::BlockHeader::getCaptionId(), rpcmp7::BlockHeader::getId(), rpcmp7::BlockHeader::getLength(), rpcmp7::BlockHeader::getRecord(), rpcmp7::BlockHeader::hasZeroSuppressionPerBX(), RecoTauValidation_cfi::header, rpcmp7::BlockHeader::isZeroSuppressed(), MainPageGenerator::link, LogDebug, jets_cff::payload, processRXRecord(), processTXRecord(), and GlobalPosition_Frontier_DevDB_cff::record.
Referenced by produce().
|
protected |
Definition at line 136 of file RPCCPPFUnpacker.cc.
References RPCAMCLinkEvents::amc_link_invalid_, l1GtPatternGenerator_cfi::bx, counters, data, TauDecayModes::dec, es_cppf_link_map_, es_lb_link_map_, fill_counters_, RPCLBLinkMap::getMap(), RPCAMCLinkMap::getMap(), RPCFebConnector::getRPCDetId(), RPCFebConnector::getStrip(), RPCAMCLinkEvents::input_connector_invalid_, RPCAMCLinkEvents::input_connector_not_used_, RPCAMCLinkEvents::input_eod_, RPCAMCLinkEvents::input_event_, RPCAMCLinkEvents::input_lb_invalid_, RPCAMCLinkEvents::input_link_ack_fail_, RPCAMCLinkEvents::input_link_error_, createfilelist::int, MainPageGenerator::link, LogDebug, RPCLBLink::max_connector_, RPCLBLink::max_linkboard_, GlobalPosition_Frontier_DevDB_cff::record, RPCLBLink::setConnector(), RPCLBLink::setLinkBoard(), digitizers_cfi::strip, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by processCPPF().
|
protected |
Definition at line 243 of file RPCCPPFUnpacker.cc.
References groupFilesInBlocks::block, MainPageGenerator::link, GlobalPosition_Frontier_DevDB_cff::record, HLT_FULL_cff::region, relativeConstraints::ring, and relativeConstraints::station.
Referenced by processCPPF().
|
overridevirtual |
Reimplemented from RPCAMCUnpacker.
Definition at line 46 of file RPCCPPFUnpacker.cc.
References counters, es_cppf_link_map_, es_cppf_link_map_token_, es_lb_link_map_, es_lb_link_map_token_, fill_counters_, eostools::move(), jets_cff::payload, processCPPF(), putRPCDigis(), singleTopDQM_cfi::setup, and jetUpdater_cfi::sort.
|
protected |
Definition at line 281 of file RPCCPPFUnpacker.cc.
References LogDebug, and eostools::move().
Referenced by produce().
|
protected |
Definition at line 57 of file RPCCPPFUnpacker.h.
Referenced by processCPPF().
|
protected |
Definition at line 57 of file RPCCPPFUnpacker.h.
Referenced by processCPPF().
|
protected |
Definition at line 60 of file RPCCPPFUnpacker.h.
Referenced by processRXRecord(), and produce().
|
protected |
Definition at line 62 of file RPCCPPFUnpacker.h.
Referenced by beginRun().
|
protected |
Definition at line 63 of file RPCCPPFUnpacker.h.
Referenced by produce().
|
protected |
Definition at line 59 of file RPCCPPFUnpacker.h.
Referenced by beginRun().
|
protected |
Definition at line 61 of file RPCCPPFUnpacker.h.
Referenced by processRXRecord(), and produce().
|
protected |
Definition at line 64 of file RPCCPPFUnpacker.h.
Referenced by produce().
|
protected |
Definition at line 56 of file RPCCPPFUnpacker.h.
Referenced by processRXRecord(), produce(), and RPCCPPFUnpacker().