#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, int cppfDaq_Delay) 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_ |
int | cppfDaq_Delay_ |
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 36 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 70 of file RPCCPPFUnpacker.cc.
References bx_max_, bx_min_, caHitNtupletGeneratorKernels::counters, cppfDaq_Delay_, TauDecayModes::dec, rpcmp7::BlockHeader::getCaptionId(), rpcmp7::BlockHeader::getId(), rpcmp7::BlockHeader::getLength(), rpcmp7::BlockHeader::getRecord(), rpcmp7::BlockHeader::hasZeroSuppressionPerBX(), RecoTauValidation_cfi::header, rpcmp7::BlockHeader::isZeroSuppressed(), LogDebug, jetsAK4_Puppi_cff::payload, processRXRecord(), processTXRecord(), and AlCaHarvesting_cff::record.
Referenced by produce().
|
protected |
Definition at line 138 of file RPCCPPFUnpacker.cc.
References RPCAMCLinkEvents::amc_link_invalid_, nano_mu_digi_cff::bx, caHitNtupletGeneratorKernels::counters, cppfDaq_Delay_, data, TauDecayModes::dec, es_cppf_link_map_, es_lb_link_map_, fill_counters_, RPCAMCLink::getAMCNumber(), RPCAMCLink::getFED(), RPCAMCLinkMap::getMap(), RPCLBLinkMap::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, LogDebug, RPCLBLink::max_connector_, RPCLBLink::max_linkboard_, AlCaHarvesting_cff::record, RPCAMCLink::setAMCInput(), RPCLBLink::setConnector(), RPCLBLink::setLinkBoard(), nano_mu_digi_cff::strip, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by processCPPF().
|
protected |
Definition at line 250 of file RPCCPPFUnpacker.cc.
References groupFilesInBlocks::block, RPCAMCLink::getAMCNumber(), AlCaHarvesting_cff::record, nano_mu_digi_cff::region, relativeConstraints::ring, and relativeConstraints::station.
Referenced by processCPPF().
|
overridevirtual |
Reimplemented from RPCAMCUnpacker.
Definition at line 47 of file RPCCPPFUnpacker.cc.
References caHitNtupletGeneratorKernels::counters, es_cppf_link_map_, es_cppf_link_map_token_, es_lb_link_map_, es_lb_link_map_token_, fill_counters_, eostools::move(), jetsAK4_Puppi_cff::payload, processCPPF(), putRPCDigis(), singleTopDQM_cfi::setup, and jetUpdater_cfi::sort.
|
protected |
Definition at line 292 of file RPCCPPFUnpacker.cc.
References LogDebug, and eostools::move().
Referenced by produce().
|
protected |
Definition at line 58 of file RPCCPPFUnpacker.h.
Referenced by processCPPF().
|
protected |
Definition at line 58 of file RPCCPPFUnpacker.h.
Referenced by processCPPF().
|
protected |
Definition at line 58 of file RPCCPPFUnpacker.h.
Referenced by processCPPF(), and processRXRecord().
|
protected |
Definition at line 61 of file RPCCPPFUnpacker.h.
Referenced by processRXRecord(), and produce().
|
protected |
Definition at line 63 of file RPCCPPFUnpacker.h.
Referenced by beginRun().
|
protected |
Definition at line 64 of file RPCCPPFUnpacker.h.
Referenced by produce().
|
protected |
Definition at line 60 of file RPCCPPFUnpacker.h.
Referenced by beginRun().
|
protected |
Definition at line 62 of file RPCCPPFUnpacker.h.
Referenced by processRXRecord(), and produce().
|
protected |
Definition at line 65 of file RPCCPPFUnpacker.h.
Referenced by produce().
|
protected |
Definition at line 57 of file RPCCPPFUnpacker.h.
Referenced by processRXRecord(), produce(), and RPCCPPFUnpacker().