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 makePileupJSON::bx, L1MuGMTCand::bx(), RecoTauCleanerPlugins::charge, reco::Candidate::charge(), reco::LeafCandidate::charge(), filterCSVwithJSON::copy, HLT_FULL_cff::deltaPhis, PV3DBase< T, PVType, FrameType >::eta(), edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), TrajectoryStateOnSurface::globalPosition(), l1t::L1Candidate::hwIso(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwQual(), mps_fire::i, edm::helper::Filler< Map >::insert(), L1MuGMTCand::isol(), isSelected(), TrajectoryStateOnSurface::isValid(), L1Scalers_cfi::l1s, reco::Candidate::mass(), match(), matcher_, SiStripPI::max, SiStripPI::min, eostools::move(), RPCpg::mu, dqmiodumpmetadata::n, PV3DBase< T, PVType, FrameType >::phi(), reco::LeafCandidate::polarP4(), reco::Candidate::pt(), edm::Event::put(), L1MuGMTCand::quality(), quality, dt_dqm_sourceclient_common_cff::reco, l1t::Muon::tfMuonIndex(), and cuda_std::upper_bound().
|
private |
Store extra information in a ValueMap.
Definition at line 245 of file L1MuonMatcher.cc.
References edm::helper::Filler< Map >::fill(), edm::helper::Filler< Map >::insert(), eostools::move(), and edm::Event::put().
|
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().