#include <L1Trigger/L1TGlobalMuon/plugins/L1TMicroGMTInputProducerFromGen.cc>
Public Member Functions | |
L1TMicroGMTInputProducerFromGen (const edm::ParameterSet &) | |
~L1TMicroGMTInputProducerFromGen () | |
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) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, edm::EventSetup const &) override |
virtual void | beginRun (const edm::Run &, edm::EventSetup const &) override |
virtual void | endJob () override |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, edm::EventSetup const &) override |
virtual void | endRun (const edm::Run &, edm::EventSetup const &) override |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Static Private Member Functions | |
static bool | compareMuons (const RegionalMuonCand &, const RegionalMuonCand &) |
Private Attributes | |
edm::EDGetTokenT< reco::GenParticleCollection > | genParticlesToken |
int | m_currEvt |
TRandom3 | m_rnd |
Static Private Attributes | |
static const int | m_maxMuons = 108 |
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 |
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) |
Description: takes generated muons and fills them in the expected collections for the MicroGMT
Implementation: [Notes on implementation]
Definition at line 51 of file L1TMicroGMTInputProducerFromGen.cc.
|
explicit |
Definition at line 89 of file L1TMicroGMTInputProducerFromGen.cc.
References genParticlesToken, and AlCaHLTBitMon_QueryRunRegistry::string.
L1TMicroGMTInputProducerFromGen::~L1TMicroGMTInputProducerFromGen | ( | ) |
Definition at line 102 of file L1TMicroGMTInputProducerFromGen.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 259 of file L1TMicroGMTInputProducerFromGen.cc.
|
overrideprivatevirtual |
Definition at line 282 of file L1TMicroGMTInputProducerFromGen.cc.
|
overrideprivatevirtual |
Definition at line 270 of file L1TMicroGMTInputProducerFromGen.cc.
|
staticprivate |
Definition at line 114 of file L1TMicroGMTInputProducerFromGen.cc.
References l1t::RegionalMuonCand::processor().
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 265 of file L1TMicroGMTInputProducerFromGen.cc.
|
overrideprivatevirtual |
Definition at line 288 of file L1TMicroGMTInputProducerFromGen.cc.
|
overrideprivatevirtual |
Definition at line 276 of file L1TMicroGMTInputProducerFromGen.cc.
|
static |
Definition at line 294 of file L1TMicroGMTInputProducerFromGen.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
overrideprivatevirtual |
Definition at line 121 of file L1TMicroGMTInputProducerFromGen.cc.
References funct::abs(), l1t::bmtf, reco::Candidate::charge(), compareMuons(), l1t::emtf_neg, l1t::emtf_pos, PVValHelper::eta, reco::Candidate::eta(), GenHFHadronMatcher_cfi::genParticles, genParticlesToken, edm::Event::getByToken(), mps_fire::i, createfilelist::int, LogTrace, m_currEvt, m_maxMuons, m_rnd, MuonErrorMatrixAnalyzer_cfi::maxPt, eostools::move(), RPCpg::mu, l1t::omtf_neg, l1t::omtf_pos, reco::Candidate::pdgId(), phi, reco::Candidate::phi(), Pi, reco::Candidate::pt(), edm::Event::put(), l1t::RegionalMuonCand::setHwEta(), l1t::RegionalMuonCand::setHwPhi(), l1t::RegionalMuonCand::setHwPt(), l1t::RegionalMuonCand::setHwQual(), l1t::RegionalMuonCand::setHwSign(), l1t::RegionalMuonCand::setHwSignValid(), l1t::RegionalMuonCand::setTFIdentifiers(), reco::Candidate::status(), and Geom::twoPi().
|
private |
Definition at line 71 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by L1TMicroGMTInputProducerFromGen(), and produce().
|
private |
Definition at line 72 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().
|
staticprivate |
Definition at line 73 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().
|
private |
Definition at line 74 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().