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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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<> | |
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 |
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 mps_fire::end, particles_, and particlesTokens_.
|
override |
Definition at line 60 of file VertexAssociationProducer.cc.
|
override |
Definition at line 62 of file VertexAssociationProducer.cc.
References HLT_FULL_cff::cands, mps_fire::end, trigObjTnPSource_cfi::filler, mps_fire::i, iEvent, eostools::move(), dqmiodumpmetadata::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().