#include <L1Trigger/L1TGlobalMuon/plugins/L1TMicroGMTInputProducerFromGen.cc>
Public Member Functions | |
L1TMicroGMTInputProducerFromGen (const edm::ParameterSet &) | |
~L1TMicroGMTInputProducerFromGen () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginLuminosityBlock (const edm::LuminosityBlock &, edm::EventSetup const &) override |
void | beginRun (const edm::Run &, edm::EventSetup const &) override |
void | endLuminosityBlock (const edm::LuminosityBlock &, edm::EventSetup const &) override |
void | endRun (const edm::Run &, edm::EventSetup const &) override |
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::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: takes generated muons and fills them in the expected collections for the MicroGMT
Implementation: [Notes on implementation]
Definition at line 50 of file L1TMicroGMTInputProducerFromGen.cc.
|
explicit |
Definition at line 85 of file L1TMicroGMTInputProducerFromGen.cc.
References genParticlesToken, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 96 of file L1TMicroGMTInputProducerFromGen.cc.
|
overrideprivate |
Definition at line 252 of file L1TMicroGMTInputProducerFromGen.cc.
|
overrideprivate |
Definition at line 246 of file L1TMicroGMTInputProducerFromGen.cc.
|
staticprivate |
Definition at line 105 of file L1TMicroGMTInputProducerFromGen.cc.
References l1t::RegionalMuonCand::processor().
Referenced by produce().
|
overrideprivate |
Definition at line 255 of file L1TMicroGMTInputProducerFromGen.cc.
|
overrideprivate |
Definition at line 249 of file L1TMicroGMTInputProducerFromGen.cc.
|
static |
Definition at line 258 of file L1TMicroGMTInputProducerFromGen.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
overrideprivate |
Definition at line 110 of file L1TMicroGMTInputProducerFromGen.cc.
References funct::abs(), l1t::bmtf, reco::Candidate::charge(), compareMuons(), l1t::emtf_neg, l1t::emtf_pos, HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, reco::Candidate::eta(), AJJGenJetFilter_cfi::genParticles, genParticlesToken, mps_fire::i, iEvent, createfilelist::int, LogTrace, m_currEvt, m_maxMuons, m_rnd, L1TPhase2Offline_cfi::maxPt, eostools::move(), amptDefaultParameters_cff::mu, l1t::omtf_neg, l1t::omtf_pos, reco::Candidate::pdgId(), phi, reco::Candidate::phi(), Pi, reco::Candidate::pt(), jetUpdater_cfi::sort, reco::Candidate::status(), and Geom::twoPi().
|
private |
Definition at line 68 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by L1TMicroGMTInputProducerFromGen(), and produce().
|
private |
Definition at line 69 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().
|
staticprivate |
Definition at line 70 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().
|
private |
Definition at line 71 of file L1TMicroGMTInputProducerFromGen.cc.
Referenced by produce().