Produces VertexAssociation and a ValueMap to the originating reco jets. More...
Public Member Functions | |
PATVertexAssociationProducer (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~PATVertexAssociationProducer () 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 edm::ValueMap< pat::VertexAssociation > | VertexAssociationMap |
typedef std::vector< edm::InputTag > | VInputTag |
Private Attributes | |
std::vector< edm::InputTag > | particles_ |
std::vector< edm::EDGetTokenT< edm::View< reco::Candidate > > > | particlesTokens_ |
pat::helper::VertexingHelper | vertexing_ |
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 |
Produces VertexAssociation and a ValueMap to the originating reco jets.
The PATVertexAssociationProducer produces a set of vertex associations for one or more collection of Candidates, and saves them in a ValueMap in the event.
These can be retrieved in PAT Layer 1 to be embedded in PAT Objects
Definition at line 27 of file VertexAssociationProducer.cc.
|
private |
Definition at line 28 of file VertexAssociationProducer.cc.
|
private |
Definition at line 37 of file VertexAssociationProducer.cc.
|
explicit |
Definition at line 48 of file VertexAssociationProducer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, particles_, and particlesTokens_.
|
override |
Definition at line 60 of file VertexAssociationProducer.cc.
|
override |
Definition at line 62 of file VertexAssociationProducer.cc.
References HLT_2024v14_cff::cands, trigObjTnPSource_cfi::filler, mps_fire::i, iEvent, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, eostools::move(), create_idmaps::n, pat::helper::VertexingHelper::newEvent(), particlesTokens_, mps_fire::result, trackerHitRTTI::vector, and vertexing_.
|
private |
Definition at line 39 of file VertexAssociationProducer.cc.
Referenced by PATVertexAssociationProducer().
|
private |
Definition at line 40 of file VertexAssociationProducer.cc.
Referenced by PATVertexAssociationProducer(), and produce().
|
private |
Definition at line 41 of file VertexAssociationProducer.cc.
Referenced by produce().