Implements RPC trigger emulation. More...
#include <RPCTrigger.h>
Public Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
RPCTrigger (const edm::ParameterSet &) | |
~RPCTrigger () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
std::vector< L1MuRegionalCand > | giveFinallCandindates (const L1RpcTBMuonsVec &finalMuons, int type, int bx, edm::Handle< RPCDigiCollection > rpcDigis, std::vector< RPCDigiL1Link > &retRPCDigiLink) |
Returns vector of L1MuRegionalCand (input of L1GMT) More... | |
Private Attributes | |
unsigned long long | m_cacheID |
bool | m_firstRun |
std::string | m_label |
RPCPacManager< RPCPacData > | m_pacManager |
RPCPacTrigger * | m_pacTrigger |
RPCConeBuilderFromES | m_theLinksystemFromES |
RPCBasicTrigConfig * | m_trigConfig |
int | m_triggerDebug |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Implements RPC trigger emulation.
Definition at line 48 of file RPCTrigger.h.
|
explicit |
Definition at line 25 of file RPCTrigger.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_cacheID, m_firstRun, m_label, m_triggerDebug, and AlCaHLTBitMon_QueryRunRegistry::string.
RPCTrigger::~RPCTrigger | ( | ) |
|
private |
Returns vector of L1MuRegionalCand (input of L1GMT)
Definition at line 217 of file RPCTrigger.cc.
Referenced by produce().
|
virtual |
Definition at line 62 of file RPCTrigger.cc.
References edm::EventBase::bunchCrossing(), L1MuRegionalCand::bx(), edm::eventsetup::EventSetupRecord::cacheIdentifier(), ALCARECOTkAlJpsiMuMu_cff::charge, L1MuRegionalCand::charge_packed(), L1MuRegionalCand::eta_packed(), edm::EventID::event(), edm::EventSetup::get(), edm::Event::getByLabel(), RPCConeBuilderFromES::getConesFromES(), giveFinallCandindates(), edm::EventBase::id(), RPCPacManager< TPacType >::init(), MuonsGrabber::Instance(), edm::HandleBase::isValid(), LogDebug, m_cacheID, m_firstRun, m_label, m_pacManager, m_pacTrigger, m_theLinksystemFromES, m_trigConfig, m_triggerDebug, eostools::move(), L1MuRegionalCand::phi_packed(), edm::ESHandle< T >::product(), edm::Event::put(), L1MuRegionalCand::quality(), DetId::rawId(), RPCPacTrigger::runEvent(), L1MuRegionalCand::setBx(), L1MuRegionalCand::setChargePacked(), L1MuRegionalCand::setChargeValid(), RPCTriggerConfiguration::setDebugLevel(), L1MuRegionalCand::setEtaPacked(), RPCDigiL1Link::setLink(), L1MuRegionalCand::setPhiPacked(), L1MuRegionalCand::setPtPacked(), L1MuRegionalCand::setQualityPacked(), MuonsGrabber::setRPCBasicTrigConfig(), L1MuRegionalCand::setType(), MuonsGrabber::startNewEvent(), L1MuRegionalCand::type_idx(), and MuonsGrabber::writeDataForRelativeBX().
|
private |
Definition at line 69 of file RPCTrigger.h.
Referenced by produce(), and RPCTrigger().
|
private |
Definition at line 67 of file RPCTrigger.h.
Referenced by produce(), and RPCTrigger().
|
private |
Definition at line 74 of file RPCTrigger.h.
Referenced by produce(), and RPCTrigger().
|
private |
Definition at line 61 of file RPCTrigger.h.
Referenced by produce().
|
private |
Definition at line 65 of file RPCTrigger.h.
Referenced by produce(), and ~RPCTrigger().
|
private |
Definition at line 59 of file RPCTrigger.h.
Referenced by produce().
|
private |
Definition at line 63 of file RPCTrigger.h.
Referenced by produce(), and ~RPCTrigger().
|
private |
Definition at line 68 of file RPCTrigger.h.
Referenced by produce(), and RPCTrigger().