#include <GsfElectronProducer.h>
Public Member Functions | |
GsfElectronProducer (const edm::ParameterSet &, const gsfAlgoHelpers::HeavyObjectCache *) | |
void | produce (edm::Event &, const edm::EventSetup &) 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 |
Protected Member Functions | |
void | beginEvent (edm::Event &, const edm::EventSetup &) |
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 |
Private Member Functions | |
void | addPflowInfo (reco::GsfElectronCollection &electrons, edm::Event const &event) const |
void | checkPfTranslatorParameters (edm::ParameterSet const &) |
reco::GsfElectronCollection | clonePreviousElectrons (edm::Event const &event) const |
void | setPflowPreselectionFlag (reco::GsfElectron &ele) const |
Private Attributes | |
bool | pfTranslatorParametersChecked_ |
Definition at line 7 of file GsfElectronProducer.h.
|
explicit |
Definition at line 26 of file GsfElectronProducer.cc.
|
private |
Definition at line 116 of file GsfElectronProducer.cc.
References GsfElectronAlgo::InputTagsConfiguration::edIsoVals, relativeConstraints::empty, edm::ParameterSet::empty(), Exception, runEdmFileComparison::found, edm::ParameterSet::getParameter(), GsfElectronBaseProducer::inputCfg_, gedGsfElectronFinalizer_cfi::pfIsolationValues, GsfElectronAlgo::InputTagsConfiguration::pfIsoVals, GsfElectronAlgo::InputTagsConfiguration::pflowGsfElectronsTag, GsfElectronAlgo::InputTagsConfiguration::previousGsfElectrons, setPflowPreselectionFlag(), reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, and reco::GsfElectron::PflowIsolationVariables::sumPhotonEt.
Referenced by produce().
|
protected |
Definition at line 64 of file GsfElectronProducer.cc.
References GsfElectronBaseProducer::beginEvent(), checkPfTranslatorParameters(), edm::parameterSet(), GsfElectronBaseProducer::pfMVA_, pfTranslatorParametersChecked_, edm::HandleBase::provenance(), and funct::true.
|
private |
Definition at line 79 of file GsfElectronProducer.cc.
References GsfElectronAlgo::StrategyConfiguration::applyPreselection, GsfElectronBaseProducer::cutsCfg_, GsfElectronBaseProducer::cutsCfgPflow_, Exception, edm::ParameterSet::getParameter(), GsfElectronAlgo::CutsConfiguration::minMVA, and GsfElectronBaseProducer::strategyCfg_.
Referenced by beginEvent().
|
private |
Definition at line 31 of file GsfElectronProducer.cc.
References lowPtElectrons_cff::electrons, edm::Event::get(), GsfElectronAlgo::InputTagsConfiguration::gsfElectronCores, GsfElectronBaseProducer::inputCfg_, and GsfElectronAlgo::InputTagsConfiguration::previousGsfElectrons.
Referenced by produce().
|
override |
Definition at line 54 of file GsfElectronProducer.cc.
References GsfElectronAlgo::StrategyConfiguration::addPflowElectrons, addPflowInfo(), GsfElectronBaseProducer::algo_, clonePreviousElectrons(), GsfElectronAlgo::completeElectrons(), lowPtElectrons_cff::electrons, GsfElectronBaseProducer::fillEvent(), and GsfElectronBaseProducer::strategyCfg_.
|
private |
Definition at line 224 of file GsfElectronProducer.cc.
References reco::GsfElectron::core(), GsfElectronBaseProducer::cutsCfg_, GsfElectronBaseProducer::cutsCfgPflow_, LogTrace, GsfElectronAlgo::CutsConfiguration::minMVA, reco::GsfElectron::MvaOutput::mva_e_pi, reco::GsfElectron::mvaOutput(), reco::GsfElectron::passingMvaPreselection(), reco::GsfElectron::setPassMvaPreselection(), and reco::GsfElectron::setPassPflowPreselection().
Referenced by addPflowInfo().
|
private |
Definition at line 25 of file GsfElectronProducer.h.
Referenced by beginEvent().