#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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 | |
const static int | m_maxMuons = 108 |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | 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 edm::ParameterSetDescription::setUnknown().
|
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(), genParticles2HepMC_cfi::genParticles, genParticlesToken, mps_fire::i, iEvent, createfilelist::int, LogTrace, m_currEvt, m_maxMuons, m_rnd, MuonErrorMatrixAnalyzer_cfi::maxPt, eostools::move(), amptDefaultParameters_cff::mu, l1t::omtf_neg, l1t::omtf_pos, reco::Candidate::pdgId(), phi, reco::Candidate::phi(), Pi, reco::Candidate::pt(), 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().