Produces the pat::CompositeCandidate. More...
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 | |
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 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<> | |
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 the pat::CompositeCandidate.
The PATCompositeCandidateProducer produces the analysis-level pat::CompositeCandidate starting from any collection of Candidates
Definition at line 34 of file PATCompositeCandidateProducer.cc.
|
explicit |
Definition at line 61 of file PATCompositeCandidateProducer.cc.
References addEfficiencies_, addResolutions_, efficiencyLoader_, edm::ParameterSet::getParameter(), and resolutionLoader_.
|
override |
Definition at line 83 of file PATCompositeCandidateProducer.cc.
|
override |
Definition at line 85 of file PATCompositeCandidateProducer.cc.
References pat::PATUserDataHelper< ObjectType >::add(), HLT_2022v12_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 48 of file PATCompositeCandidateProducer.cc.
Referenced by PATCompositeCandidateProducer().
|
private |
Definition at line 51 of file PATCompositeCandidateProducer.cc.
Referenced by PATCompositeCandidateProducer().
|
private |
Definition at line 49 of file PATCompositeCandidateProducer.cc.
Referenced by PATCompositeCandidateProducer(), and produce().
|
private |
Definition at line 52 of file PATCompositeCandidateProducer.cc.
Referenced by PATCompositeCandidateProducer(), and produce().
|
private |
Definition at line 43 of file PATCompositeCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 46 of file PATCompositeCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 45 of file PATCompositeCandidateProducer.cc.
Referenced by produce().