#include <RPCCPPFUnpacker.h>
Public Member Functions | |
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) |
void | produce (edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload) |
RPCCPPFUnpacker (edm::stream::EDProducerBase &producer, edm::ParameterSet const &config) | |
Public Member Functions inherited from RPCAMCUnpacker | |
std::vector< int > const & | getFeds () const |
RPCAMCUnpacker (edm::stream::EDProducerBase &producer, edm::ParameterSet const &config) | |
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::ESWatcher< RPCCPPFLinkMapRcd > | es_cppf_link_map_watcher_ |
edm::ESHandle< RPCLBLinkMap > | es_lb_link_map_ |
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 22 of file RPCCPPFUnpacker.h.
RPCCPPFUnpacker::RPCCPPFUnpacker | ( | edm::stream::EDProducerBase & | producer, |
edm::ParameterSet const & | config | ||
) |
Definition at line 19 of file RPCCPPFUnpacker.cc.
References fill_counters_.
|
virtual |
Reimplemented from RPCAMCUnpacker.
Definition at line 32 of file RPCCPPFUnpacker.cc.
References edm::ESWatcher< T >::check(), es_cppf_link_map_, es_cppf_link_map_watcher_, RPCAMCUnpacker::feds_, edm::EventSetup::get(), and RPCAMCLinkMap::getMap().
|
protected |
Definition at line 68 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(), RecoTauValidation_cfi::header, rpcamc13::AMCPayload::isValid(), rpcmp7::BlockHeader::isZeroSuppressed(), LogDebug, processRXRecord(), processTXRecord(), and record.
Referenced by produce().
|
protected |
Definition at line 136 of file RPCCPPFUnpacker.cc.
References RPCAMCLinkCounters::add(), RPCAMCLinkEvents::amc_link_invalid_, 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(), RPCLBLinkMap::getMap(), RPCAMCLinkMap::getMap(), 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_, createfilelist::int, rpccppf::RXRecord::isAcknowledge(), rpccppf::RXRecord::isEOD(), rpccppf::RXRecord::isError(), LogDebug, RPCLBLink::max_connector_, RPCLBLink::max_linkboard_, RPCAMCLink::setAMCInput(), RPCLBLink::setConnector(), RPCLBLink::setLinkBoard(), digitizers_cfi::strip, and globals_cff::x1.
Referenced by processCPPF().
|
protected |
Definition at line 248 of file RPCCPPFUnpacker.cc.
References RPCAMCLink::getAMCNumber(), rpccppf::TXRecord::getPhi(), rpccppf::TXRecord::getTheta(), rpccppf::TXRecord::isValid(), relativeConstraints::ring, and relativeConstraints::station.
Referenced by processCPPF().
|
virtual |
Reimplemented from RPCAMCUnpacker.
Definition at line 44 of file RPCCPPFUnpacker.cc.
References es_cppf_link_map_, es_lb_link_map_, fill_counters_, edm::EventSetup::get(), eostools::move(), jets_cff::payload, processCPPF(), putRPCDigis(), and jetUpdater_cfi::sort.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
protected |
Definition at line 282 of file RPCCPPFUnpacker.cc.
References DEFINE_EDM_PLUGIN, LogDebug, and eostools::move().
Referenced by produce().
|
protected |
Definition at line 53 of file RPCCPPFUnpacker.h.
Referenced by processCPPF().
|
protected |
Definition at line 53 of file RPCCPPFUnpacker.h.
Referenced by processCPPF().
|
protected |
Definition at line 56 of file RPCCPPFUnpacker.h.
Referenced by beginRun(), processRXRecord(), and produce().
|
protected |
Definition at line 55 of file RPCCPPFUnpacker.h.
Referenced by beginRun().
|
protected |
Definition at line 57 of file RPCCPPFUnpacker.h.
Referenced by processRXRecord(), and produce().
|
protected |
Definition at line 52 of file RPCCPPFUnpacker.h.
Referenced by processRXRecord(), produce(), and RPCCPPFUnpacker().