#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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 () |
virtual void | beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run &, edm::EventSetup const &) |
virtual void | endJob () |
virtual void | endLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual void | endRun (edm::Run &, edm::EventSetup const &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
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 49 of file L1TMicroGMTInputProducerFromGen.cc.
|
explicit |
Definition at line 87 of file L1TMicroGMTInputProducerFromGen.cc.
References genParticlesToken, and AlCaHLTBitMon_QueryRunRegistry::string.
L1TMicroGMTInputProducerFromGen::~L1TMicroGMTInputProducerFromGen | ( | ) |
Definition at line 100 of file L1TMicroGMTInputProducerFromGen.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 257 of file L1TMicroGMTInputProducerFromGen.cc.
|
privatevirtual |
Definition at line 280 of file L1TMicroGMTInputProducerFromGen.cc.
|
privatevirtual |
Definition at line 268 of file L1TMicroGMTInputProducerFromGen.cc.
|
staticprivate |
Definition at line 112 of file L1TMicroGMTInputProducerFromGen.cc.
References l1t::RegionalMuonCand::processor().
Referenced by produce().
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 263 of file L1TMicroGMTInputProducerFromGen.cc.
|
privatevirtual |
Definition at line 286 of file L1TMicroGMTInputProducerFromGen.cc.
|
privatevirtual |
Definition at line 274 of file L1TMicroGMTInputProducerFromGen.cc.
|
static |
Definition at line 292 of file L1TMicroGMTInputProducerFromGen.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 119 of file L1TMicroGMTInputProducerFromGen.cc.
References funct::abs(), l1t::bmtf, reco::Candidate::charge(), compareMuons(), l1t::emtf_neg, l1t::emtf_pos, relval_parameters_module::energy, eta, reco::Candidate::eta(), genParticleCandidates2GenParticles_cfi::genParticles, genParticlesToken, edm::Event::getByToken(), i, LogTrace, m_currEvt, m_maxMuons, m_rnd, RPCpg::mu, l1t::omtf_neg, l1t::omtf_pos, reco::Candidate::pdgId(), phi, reco::Candidate::phi(), Pi, reco::Candidate::pt(), edm::Event::put(), python.multivaluedict::sort(), reco::Candidate::status(), and Geom::twoPi().
|
private |
Definition at line 69 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by L1TMicroGMTInputProducerFromGen(), and produce().
|
private |
Definition at line 70 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().
|
staticprivate |
Definition at line 71 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().
|
private |
Definition at line 72 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().