Matcher of reconstructed objects to L1 Muons. More...
Public Member Functions | |
L1MuonMatcher (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~L1MuonMatcher () 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 |
Private Types | |
typedef pat::TriggerObjectStandAlone | PATPrimitive |
typedef pat::TriggerObjectStandAloneCollection | PATPrimitiveCollection |
typedef pat::TriggerObjectStandAloneMatch | PATTriggerAssociation |
Private Member Functions | |
template<typename Hand , typename T > | |
void | storeExtraInfo (edm::Event &iEvent, const Hand &handle, const std::vector< T > &values, const std::string &label) const |
Store extra information in a ValueMap. More... | |
Private Attributes | |
int | firstBX_ |
Skim stage2 BX vector. More... | |
edm::EDGetTokenT< std::vector< l1extra::L1MuonParticle > > | l1Token_ |
edm::EDGetTokenT< l1t::MuonBxCollection > | l1tToken_ |
std::string | labelL1_ |
Labels to set as filter names in the output. More... | |
std::string | labelProp_ |
int | lastBX_ |
L1MuonMatcherAlgo | matcher_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | recoToken_ |
Tokens for input collections. More... | |
bool | useStage2L1_ |
Allow to run both on legacy or stage2 (2016) L1 Muon trigger output. More... | |
bool | writeExtraInfo_ |
Write out additional info as ValueMaps. More... | |
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 |
Matcher of reconstructed objects to L1 Muons.
Definition at line 32 of file L1MuonMatcher.cc.
|
private |
Definition at line 40 of file L1MuonMatcher.cc.
Definition at line 41 of file L1MuonMatcher.cc.
Definition at line 42 of file L1MuonMatcher.cc.
|
explicit |
Definition at line 74 of file L1MuonMatcher.cc.
References edm::ParameterSet::getParameter(), l1Token_, l1tToken_, useStage2L1_, and writeExtraInfo_.
|
inlineoverride |
Definition at line 35 of file L1MuonMatcher.cc.
|
override |
Definition at line 107 of file L1MuonMatcher.cc.
References BXVector< T >::begin(), l1GtPatternGenerator_cfi::bx, L1MuGMTCand::bx(), ALCARECOTkAlJpsiMuMu_cff::charge, reco::LeafCandidate::charge(), filterCSVwithJSON::copy, HLT_2022v15_cff::deltaPhis, BXVector< T >::end(), edm::helper::Filler< Map >::fill(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), TrajectoryStateOnSurface::globalPosition(), mps_fire::i, iEvent, edm::helper::Filler< Map >::insert(), L1MuGMTCand::isol(), isSelected(), TrajectoryStateOnSurface::isValid(), L1Scalers_cfi::l1s, SiStripPI::max, hltL1TEGammaFilteredCollectionProducer_cfi::maxBX, SiStripPI::min, hltL1TEGammaFilteredCollectionProducer_cfi::minBX, eostools::move(), amptDefaultParameters_cff::mu, dqmiodumpmetadata::n, reco::LeafCandidate::polarP4(), quality, L1MuGMTCand::quality(), dt_dqm_sourceclient_common_cff::reco, BXVector< T >::size(), and pfDeepBoostedJetPreprocessParams_cfi::upper_bound.
|
private |
Store extra information in a ValueMap.
Definition at line 245 of file L1MuonMatcher.cc.
References trigObjTnPSource_cfi::filler, patZpeak::handle, iEvent, label, eostools::move(), and contentValuesCheck::values.
|
private |
Skim stage2 BX vector.
Definition at line 61 of file L1MuonMatcher.cc.
|
private |
Definition at line 48 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().
|
private |
Definition at line 49 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().
|
private |
Labels to set as filter names in the output.
Definition at line 52 of file L1MuonMatcher.cc.
|
private |
Definition at line 52 of file L1MuonMatcher.cc.
|
private |
Definition at line 62 of file L1MuonMatcher.cc.
|
private |
Definition at line 44 of file L1MuonMatcher.cc.
|
private |
Tokens for input collections.
Definition at line 47 of file L1MuonMatcher.cc.
|
private |
Allow to run both on legacy or stage2 (2016) L1 Muon trigger output.
Definition at line 58 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().
|
private |
Write out additional info as ValueMaps.
Definition at line 55 of file L1MuonMatcher.cc.
Referenced by L1MuonMatcher().