Produces the pat::CompositeCandidate. More...
#include "PhysicsTools/PatAlgos/interface/PATCompositeCandidateProducer.h"
Public Member Functions | |
PATCompositeCandidateProducer (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~PATCompositeCandidateProducer () 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 Attributes | |
const bool | addEfficiencies_ |
const bool | addResolutions_ |
pat::helper::EfficiencyLoader | efficiencyLoader_ |
pat::helper::KinResolutionsLoader | resolutionLoader_ |
const edm::EDGetTokenT< edm::View< reco::CompositeCandidate > > | srcToken_ |
pat::PATUserDataHelper< pat::CompositeCandidate > | userDataHelper_ |
const bool | useUserData_ |
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 the pat::CompositeCandidate.
The PATCompositeCandidateProducer produces the analysis-level pat::CompositeCandidate starting from any collection of Candidates
Definition at line 39 of file PATCompositeCandidateProducer.h.
|
explicit |
Definition at line 19 of file PATCompositeCandidateProducer.cc.
References addEfficiencies_, addResolutions_, efficiencyLoader_, edm::ParameterSet::getParameter(), and resolutionLoader_.
|
override |
Definition at line 40 of file PATCompositeCandidateProducer.cc.
|
override |
Definition at line 42 of file PATCompositeCandidateProducer.cc.
References pat::PATUserDataHelper< ObjectType >::add(), HLT_FULL_cff::cands, efficiencyLoader_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), mps_fire::i, iEvent, eostools::move(), pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), resolutionLoader_, pat::helper::EfficiencyLoader::setEfficiencies(), pat::helper::KinResolutionsLoader::setResolutions(), srcToken_, userDataHelper_, and useUserData_.
|
private |
Definition at line 53 of file PATCompositeCandidateProducer.h.
Referenced by PATCompositeCandidateProducer().
|
private |
Definition at line 56 of file PATCompositeCandidateProducer.h.
Referenced by PATCompositeCandidateProducer().
|
private |
Definition at line 54 of file PATCompositeCandidateProducer.h.
Referenced by PATCompositeCandidateProducer(), and produce().
|
private |
Definition at line 57 of file PATCompositeCandidateProducer.h.
Referenced by PATCompositeCandidateProducer(), and produce().
|
private |
Definition at line 48 of file PATCompositeCandidateProducer.h.
Referenced by produce().
|
private |
Definition at line 51 of file PATCompositeCandidateProducer.h.
Referenced by produce().
|
private |
Definition at line 50 of file PATCompositeCandidateProducer.h.
Referenced by produce().