#include <GsfElectronBaseProducer.h>
Public Member Functions | |
GsfElectronBaseProducer (const edm::ParameterSet &, const GsfElectronAlgo::HeavyObjectCache *) | |
void | produce (edm::Event &event, const edm::EventSetup &setup) override |
~GsfElectronBaseProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< GsfElectronAlgo::HeavyObjectCache > > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
static void | globalEndJob (GsfElectronAlgo::HeavyObjectCache const *) |
static std::unique_ptr< GsfElectronAlgo::HeavyObjectCache > | initializeGlobalCache (const edm::ParameterSet &conf) |
Protected Member Functions | |
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 | checkEcalSeedingParameters (edm::ParameterSet const &) |
bool | isPreselected (reco::GsfElectron const &ele) const |
void | setAmbiguityData (reco::GsfElectronCollection &electrons, edm::Event const &event, bool ignoreNotPreselected=true) const |
Private Attributes | |
bool | ecalSeedingParametersChecked_ |
const edm::EDPutTokenT< reco::GsfElectronCollection > | electronPutToken_ |
edm::OrphanHandle< reco::GsfElectronCollection > | orphanHandle_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< GsfElectronAlgo::HeavyObjectCache > > | |
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 |
Definition at line 26 of file GsfElectronBaseProducer.h.
|
explicit |
Definition at line 238 of file GsfElectronBaseProducer.cc.
References GsfElectronAlgo::StrategyConfiguration::addPflowElectrons, algo_, GsfElectronAlgo::StrategyConfiguration::ambClustersOverlapStrategy, GsfElectronAlgo::StrategyConfiguration::ambSortingStrategy, GsfElectronAlgo::StrategyConfiguration::applyAmbResolution, GsfElectronAlgo::StrategyConfiguration::applyPreselection, GsfElectronAlgo::Tokens::barrelRecHitCollection, GsfElectronAlgo::Tokens::beamSpotTag, ElectronHcalHelper::Configuration::checkHcalStatus, gedGsfElectrons_cfi::combinationRegressionWeightLabels, GsfElectronAlgo::Tokens::conversions, GsfElectronAlgo::Tokens::ctfTracks, GsfElectronAlgo::StrategyConfiguration::ctfTracksCheck, cutsCfg_, cutsCfgPflow_, GsfElectronAlgo::StrategyConfiguration::ecalDrivenEcalEnergyFromClassBasedParameterization, GsfElectronAlgo::StrategyConfiguration::ecalDrivenEcalErrorFromClassBasedParameterization, RegressionHelper::Configuration::ecalRegressionWeightLabels, edIsoVals_, GsfElectronAlgo::Tokens::endcapRecHitCollection, electronEcalRecHitIsolationLcone_cfi::etMinBarrel, GsfElectronAlgo::StrategyConfiguration::fillConvVtxFitProb, GsfElectronAlgo::StrategyConfiguration::gedElectronMode, timingPdfMaker::get, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), GsfElectronAlgo::Tokens::gsfElectronCores, GsfElectronAlgo::Tokens::gsfPfRecTracksTag, hcalCfg_, hcalCfgPflow_, ElectronHcalHelper::Configuration::hcalTowers, GsfElectronAlgo::Tokens::hcalTowersTag, ElectronHcalHelper::Configuration::hOverEConeSize, ElectronHcalHelper::Configuration::hOverEPtMin, inputCfg_, GsfElectronAlgo::IsolationConfiguration::intRadiusHcal, GsfElectronAlgo::StrategyConfiguration::MaxElePtForOnlyMVA, Skims_PA_cff::name, pfIsoVals_, GsfElectronAlgo::Tokens::pflowGsfElectronsTag, pfMVA_, GsfElectronAlgo::StrategyConfiguration::PreSelectMVA, GsfElectronAlgo::Tokens::previousGsfElectrons, GsfElectronAlgo::StrategyConfiguration::pureTrackerDrivenEcalErrorFromSimpleParameterization, GsfElectronAlgo::Tokens::seedsTag, strategyCfg_, AlCaHLTBitMon_QueryRunRegistry::string, GsfElectronAlgo::StrategyConfiguration::useCombinationRegression, GsfElectronAlgo::StrategyConfiguration::useEcalRegression, GsfElectronAlgo::StrategyConfiguration::useGsfPfRecTracks, ElectronHcalHelper::Configuration::useTowers, electronEcalRecHitIsolationLcone_cfi::vetoClustered, GsfElectronAlgo::Tokens::vtxCollectionTag, and ~GsfElectronBaseProducer().
|
overridedefault |
Referenced by GsfElectronBaseProducer().
|
protected |
Definition at line 375 of file GsfElectronBaseProducer.cc.
References checkEcalSeedingParameters(), ecalSeedingParametersChecked_, inputCfg_, edm::HandleBase::isValid(), edm::parameterSet(), edm::HandleBase::provenance(), and GsfElectronAlgo::Tokens::seedsTag.
Referenced by GsfElectronProducer::beginEvent().
|
private |
Definition at line 412 of file GsfElectronBaseProducer.cc.
References cutsCfg_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), hcalCfg_, ElectronHcalHelper::Configuration::hOverEConeSize, GsfElectronAlgo::CutsConfiguration::maxHOverEBarrelCone, GsfElectronAlgo::CutsConfiguration::maxHOverEEndcapsCone, GsfElectronAlgo::CutsConfiguration::minSCEtBarrel, and GsfElectronAlgo::CutsConfiguration::minSCEtEndcaps.
Referenced by beginEvent().
|
static |
Definition at line 44 of file GsfElectronBaseProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, gedGsfElectrons_cfi::maxDeltaEtaEndcaps, gedGsfElectrons_cfi::maxDeltaPhiEndcaps, Reconstruction_hiPF_cff::maxEOverPEndcaps, gedGsfElectrons_cfi::maxHOverEEndcapsCone, gedGsfElectrons_cfi::maxHOverEEndcapsTower, gsfElectrons_cfi::minMVA, GsfElectronAlgo::CutsConfiguration::minSCEtBarrel, gedGsfElectrons_cfi::minSCEtEndcaps, muonDTDigis_cfi::pset, EleTkIsolFromCands::pSetDescript(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 391 of file GsfElectronBaseProducer.cc.
References reco::GsfElectron::ambiguous(), GsfElectronAlgo::StrategyConfiguration::applyAmbResolution, GsfElectronAlgo::StrategyConfiguration::applyPreselection, electronPutToken_, isPreselected(), eostools::move(), orphanHandle_, setAmbiguityData(), and strategyCfg_.
Referenced by GsfElectronProducer::produce(), and GEDGsfElectronProducer::produce().
|
inlinestatic |
Definition at line 37 of file GsfElectronBaseProducer.h.
|
inlinestatic |
Definition at line 33 of file GsfElectronBaseProducer.h.
|
private |
Definition at line 547 of file GsfElectronBaseProducer.cc.
References DEFINE_FWK_MODULE, reco::GsfElectron::ecalDrivenSeed(), GsfElectronAlgo::StrategyConfiguration::gedElectronMode, GsfElectronAlgo::StrategyConfiguration::MaxElePtForOnlyMVA, reco::GsfElectron::passingCutBasedPreselection(), reco::GsfElectron::passingMvaPreselection(), reco::GsfElectron::passingPflowPreselection(), reco::LeafCandidate::pt(), and strategyCfg_.
Referenced by fillEvent(), and setAmbiguityData().
|
inlineprotected |
Definition at line 51 of file GsfElectronBaseProducer.h.
Referenced by GEDGsfElectronProducer::fillGsfElectronValueMap().
|
inlineoverride |
Definition at line 40 of file GsfElectronBaseProducer.h.
References pwdgSkimBPark_cfi::electrons, and ntuple::fillEvent().
|
private |
Definition at line 449 of file GsfElectronBaseProducer.cc.
References GsfElectronAlgo::StrategyConfiguration::ambClustersOverlapStrategy, GsfElectronAlgo::StrategyConfiguration::ambSortingStrategy, GsfElectronAlgo::Tokens::barrelRecHitCollection, HLT_2018_cff::barrelRecHits, GsfElectronAlgo::Tokens::beamSpotTag, StorageManager_cfg::e1, metsig::electron, photonAnalyzer_cfi::eMin, GsfElectronAlgo::Tokens::endcapRecHitCollection, HLT_2018_cff::endcapRecHits, PVValHelper::eta, Exception, newFWLiteAna::found, edm::Ref< C, T, F >::get(), uncleanedOnlyElectronSequence_cff::gsfPfRecTracks, GsfElectronAlgo::Tokens::gsfPfRecTracksTag, inputCfg_, egamma::isBetterElectron(), egamma::isInnermostElectron(), isPreselected(), LogDebug, egamma::sharedEnergy(), strategyCfg_, MessageLogger_cff::threshold, and GsfElectronAlgo::StrategyConfiguration::useGsfPfRecTracks.
Referenced by fillEvent().
|
protected |
Definition at line 47 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronBaseProducer(), GsfElectronProducer::produce(), and GEDGsfElectronProducer::produce().
|
protected |
Definition at line 56 of file GsfElectronBaseProducer.h.
Referenced by checkEcalSeedingParameters(), GsfElectronProducer::checkPfTranslatorParameters(), GsfElectronBaseProducer(), and GsfElectronProducer::setPflowPreselectionFlag().
|
protected |
Definition at line 57 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::checkPfTranslatorParameters(), GsfElectronBaseProducer(), and GsfElectronProducer::setPflowPreselectionFlag().
|
private |
Definition at line 75 of file GsfElectronBaseProducer.h.
Referenced by beginEvent().
|
protected |
Definition at line 66 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::addPflowInfo(), and GsfElectronBaseProducer().
|
private |
Definition at line 79 of file GsfElectronBaseProducer.h.
Referenced by fillEvent().
|
protected |
Definition at line 58 of file GsfElectronBaseProducer.h.
Referenced by checkEcalSeedingParameters(), and GsfElectronBaseProducer().
|
protected |
Definition at line 59 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronBaseProducer().
|
protected |
Definition at line 54 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::addPflowInfo(), beginEvent(), GsfElectronProducer::clonePreviousElectrons(), GsfElectronBaseProducer(), GEDGsfElectronProducer::produce(), and setAmbiguityData().
|
private |
Definition at line 77 of file GsfElectronBaseProducer.h.
Referenced by fillEvent().
|
protected |
Definition at line 65 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::addPflowInfo(), and GsfElectronBaseProducer().
|
protected |
Definition at line 62 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::beginEvent(), and GsfElectronBaseProducer().
|
protected |
Definition at line 55 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::checkPfTranslatorParameters(), fillEvent(), GsfElectronBaseProducer(), isPreselected(), GsfElectronProducer::produce(), and setAmbiguityData().