CMS 3D CMS Logo

List of all members | Public Member Functions
GsfElectronEcalDrivenProducer Class Reference

#include <GsfElectronEcalDrivenProducer.h>

Inheritance diagram for GsfElectronEcalDrivenProducer:
GsfElectronBaseProducer edm::stream::EDProducer< edm::GlobalCache< gsfAlgoHelpers::HeavyObjectCache > >

Public Member Functions

 GsfElectronEcalDrivenProducer (const edm::ParameterSet &, const gsfAlgoHelpers::HeavyObjectCache *)
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~GsfElectronEcalDrivenProducer () override
 
- Public Member Functions inherited from GsfElectronBaseProducer
 GsfElectronBaseProducer (const edm::ParameterSet &, const gsfAlgoHelpers::HeavyObjectCache *)
 
 ~GsfElectronBaseProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< gsfAlgoHelpers::HeavyObjectCache > >
 EDProducer ()=default
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< gsfAlgoHelpers::HeavyObjectCache > >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Static Public Member Functions inherited from GsfElectronBaseProducer
static void fillDescriptions (edm::ConfigurationDescriptions &)
 
static void globalEndJob (gsfAlgoHelpers::HeavyObjectCache const *)
 
static std::unique_ptr< gsfAlgoHelpers::HeavyObjectCacheinitializeGlobalCache (const edm::ParameterSet &conf)
 
- Protected Member Functions inherited from GsfElectronBaseProducer
void beginEvent (edm::Event &, const edm::EventSetup &)
 
void fillEvent (reco::GsfElectronCollection &electrons, edm::Event &event)
 
const edm::OrphanHandle< reco::GsfElectronCollection > & orphanHandle () const
 
- Protected Attributes inherited from GsfElectronBaseProducer
GsfElectronAlgoalgo_
 
const GsfElectronAlgo::CutsConfiguration cutsCfg_
 
const GsfElectronAlgo::CutsConfiguration cutsCfgPflow_
 
ElectronHcalHelper::Configuration hcalCfg_
 
ElectronHcalHelper::Configuration hcalCfgPflow_
 
GsfElectronAlgo::InputTagsConfiguration inputCfg_
 
edm::EDGetTokenT< edm::ValueMap< float > > pfMVA_
 
GsfElectronAlgo::StrategyConfiguration strategyCfg_
 

Detailed Description

Definition at line 7 of file GsfElectronEcalDrivenProducer.h.

Constructor & Destructor Documentation

GsfElectronEcalDrivenProducer::GsfElectronEcalDrivenProducer ( const edm::ParameterSet cfg,
const gsfAlgoHelpers::HeavyObjectCache hoc 
)
explicit

Definition at line 24 of file GsfElectronEcalDrivenProducer.cc.

25  : GsfElectronBaseProducer(cfg,hoc)
26  {}
GsfElectronBaseProducer(const edm::ParameterSet &, const gsfAlgoHelpers::HeavyObjectCache *)
GsfElectronEcalDrivenProducer::~GsfElectronEcalDrivenProducer ( )
override

Definition at line 28 of file GsfElectronEcalDrivenProducer.cc.

29  {}

Member Function Documentation

void GsfElectronEcalDrivenProducer::produce ( edm::Event event,
const edm::EventSetup setup 
)
override

Definition at line 32 of file GsfElectronEcalDrivenProducer.cc.

References GsfElectronBaseProducer::algo_, GsfElectronAlgo::completeElectrons(), nano_cff::electrons, and GsfElectronBaseProducer::fillEvent().

33  {
35  algo_->completeElectrons(electrons, event, setup, globalCache()) ;
36  fillEvent(electrons, event) ;
37  }
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
void fillEvent(reco::GsfElectronCollection &electrons, edm::Event &event)
void completeElectrons(reco::GsfElectronCollection &electrons, edm::Event const &event, edm::EventSetup const &eventSetup, const gsfAlgoHelpers::HeavyObjectCache *hoc)