#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_, unpackBuffers-CaloStage1::feds, RPCAMCUnpacker::feds_, and edm::EventSetup::getHandle().
|
protected |
Definition at line 69 of file RPCCPPFUnpacker.cc.
References bx_max_, bx_min_, TauDecayModes::dec, rpcmp7::BlockHeader::getCaptionId(), rpcamc13::AMCPayload::getData(), rpcmp7::BlockHeader::getId(), rpcmp7::BlockHeader::getLength(), rpcmp7::BlockHeader::getRecord(), rpcmp7::BlockHeader::hasZeroSuppressionPerBX(), rpcamc13::AMCPayload::isValid(), rpcmp7::BlockHeader::isZeroSuppressed(), LogDebug, processRXRecord(), processTXRecord(), and GlobalPosition_Frontier_DevDB_cff::record.
Referenced by produce().
|
protected |
Definition at line 136 of file RPCCPPFUnpacker.cc.
References RPCAMCLinkCounters::add(), RPCAMCLinkEvents::amc_link_invalid_, makePileupJSON::bx, data, TauDecayModes::dec, es_cppf_link_map_, es_lb_link_map_, fill_counters_, RPCAMCLink::getAMCNumber(), rpccppf::RXRecord::getBXCounterMod(), rpccppf::RXRecord::getConnector(), rpccppf::RXRecord::getDelay(), RPCAMCLink::getFED(), rpccppf::RXRecord::getLink(), rpccppf::RXRecord::getLinkBoard(), rpccppf::RXRecord::getPartition(), rpccppf::RXRecord::getPartitionData(), rpccppf::RXRecord::getRecord(), 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_, rpccppf::RXRecord::isAcknowledge(), rpccppf::RXRecord::isEOD(), rpccppf::RXRecord::isError(), MainPageGenerator::link, LogDebug, RPCLBLink::max_connector_, RPCLBLink::max_linkboard_, RPCAMCLink::setAMCInput(), RPCLBLink::setConnector(), RPCLBLink::setLinkBoard(), and digitizers_cfi::strip.
Referenced by processCPPF().
|
protected |
Definition at line 243 of file RPCCPPFUnpacker.cc.
References RPCAMCLink::getAMCNumber(), rpccppf::TXRecord::getPhi(), rpccppf::TXRecord::getTheta(), rpccppf::TXRecord::isValid(), 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_, edm::EventSetup::getHandle(), eostools::move(), jetCorrFactors_cfi::payload, processCPPF(), and putRPCDigis().
|
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().