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 | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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 40 of file PATCompositeCandidateProducer.h.
|
explicit |
Definition at line 20 of file PATCompositeCandidateProducer.cc.
References addEfficiencies_, addResolutions_, efficiencyLoader_, edm::ParameterSet::getParameter(), and resolutionLoader_.
|
override |
Definition at line 43 of file PATCompositeCandidateProducer.cc.
|
override |
Definition at line 46 of file PATCompositeCandidateProducer.cc.
References egammaForCoreTracking_cff::cands, DEFINE_FWK_MODULE, efficiencyLoader_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), eostools::move(), pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), edm::Event::put(), resolutionLoader_, pat::helper::EfficiencyLoader::setEfficiencies(), pat::helper::KinResolutionsLoader::setResolutions(), srcToken_, userDataHelper_, and useUserData_.
|
private |
Definition at line 57 of file PATCompositeCandidateProducer.h.
Referenced by PATCompositeCandidateProducer().
|
private |
Definition at line 60 of file PATCompositeCandidateProducer.h.
Referenced by PATCompositeCandidateProducer().
|
private |
Definition at line 58 of file PATCompositeCandidateProducer.h.
Referenced by PATCompositeCandidateProducer(), and produce().
|
private |
Definition at line 61 of file PATCompositeCandidateProducer.h.
Referenced by PATCompositeCandidateProducer(), and produce().
|
private |
Definition at line 52 of file PATCompositeCandidateProducer.h.
Referenced by produce().
|
private |
Definition at line 55 of file PATCompositeCandidateProducer.h.
Referenced by produce().
|
private |
Definition at line 54 of file PATCompositeCandidateProducer.h.
Referenced by produce().