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 | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () 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 end, particles_, and particlesTokens_.
|
override |
Definition at line 60 of file VertexAssociationProducer.cc.
|
override |
Definition at line 62 of file VertexAssociationProducer.cc.
References HLT_2018_cff::cands, DEFINE_FWK_MODULE, end, trigObjTnPSource_cfi::filler, edm::Event::getByToken(), mps_fire::i, eostools::move(), dqmiodumpmetadata::n, pat::helper::VertexingHelper::newEvent(), particlesTokens_, edm::Event::put(), mps_fire::result, 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().