#include <MuonAnalysis/MuonAssociators/src/MatcherByPulls.cc>
Public Member Functions | |
MatcherByPulls (const edm::ParameterSet &) | |
~MatcherByPulls () 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 Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
MatcherByPullsAlgorithm | algo_ |
edm::EDGetTokenT< std::vector< reco::GenParticle > > | matchedToken_ |
The MC objects to match against. More... | |
StringCutObjectSelector< reco::GenParticle > | mcSel_ |
Preselection cut on MC objects. More... | |
edm::EDGetTokenT< edm::View< T > > | srcToken_ |
The RECO objects. 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 |
Description: Matches RecoCandidates to (Gen)Particles by looking at the pulls fo the track parameters. Produces as output an edm::Association to GenParticles, and a ValueMap with the pull values.
Implementation: uses MatcherByPullsAlgorithm the module is in the pat namespace, but it doesn't have any PAT dependency.
Definition at line 47 of file MatcherByPulls.cc.
|
explicit |
Definition at line 76 of file MatcherByPulls.cc.
|
override |
Definition at line 86 of file MatcherByPulls.cc.
|
overrideprivate |
Definition at line 97 of file MatcherByPulls.cc.
References HLT_2022v12_cff::cands, edm::helper::Filler< Map >::fill(), mps_fire::i, iEvent, edm::helper::Filler< Map >::insert(), visualization-live-secondInstance_cfg::m, oniaPATMuonsWithTrigger_cff::matches, eostools::move(), dqmiodumpmetadata::n, TrackRefitter_38T_cff::src, and HcalDetIdTransform::transform().
|
private |
Definition at line 64 of file MatcherByPulls.cc.
|
private |
The MC objects to match against.
Definition at line 59 of file MatcherByPulls.cc.
|
private |
Preselection cut on MC objects.
Definition at line 62 of file MatcherByPulls.cc.
|
private |
The RECO objects.
Definition at line 56 of file MatcherByPulls.cc.