#include <GsfElectronBaseProducer.h>
Public Member Functions | |
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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
static void | globalEndJob (gsfAlgoHelpers::HeavyObjectCache const *) |
static std::unique_ptr< gsfAlgoHelpers::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< gsfAlgoHelpers::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 29 of file GsfElectronBaseProducer.h.
|
explicit |
Definition at line 240 of file GsfElectronBaseProducer.cc.
References GsfElectronAlgo::StrategyConfiguration::addPflowElectrons, algo_, GsfElectronAlgo::StrategyConfiguration::ambClustersOverlapStrategy, GsfElectronAlgo::StrategyConfiguration::ambSortingStrategy, GsfElectronAlgo::StrategyConfiguration::applyAmbResolution, GsfElectronAlgo::StrategyConfiguration::applyPreselection, GsfElectronAlgo::InputTagsConfiguration::barrelRecHitCollection, GsfElectronAlgo::InputTagsConfiguration::beamSpotTag, ElectronHcalHelper::Configuration::checkHcalStatus, gedGsfElectrons_cfi::combinationRegressionWeightLabels, GsfElectronAlgo::InputTagsConfiguration::conversions, GsfElectronAlgo::InputTagsConfiguration::ctfTracks, GsfElectronAlgo::StrategyConfiguration::ctfTracksCheck, cutsCfg_, cutsCfgPflow_, GsfElectronAlgo::StrategyConfiguration::ecalDrivenEcalEnergyFromClassBasedParameterization, GsfElectronAlgo::StrategyConfiguration::ecalDrivenEcalErrorFromClassBasedParameterization, RegressionHelper::Configuration::ecalRegressionWeightLabels, GsfElectronAlgo::InputTagsConfiguration::edIsoVals, GsfElectronAlgo::InputTagsConfiguration::endcapRecHitCollection, electronEcalRecHitIsolationLcone_cfi::etMinBarrel, GsfElectronAlgo::StrategyConfiguration::fillConvVtxFitProb, GsfElectronAlgo::StrategyConfiguration::gedElectronMode, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), GsfElectronAlgo::InputTagsConfiguration::gsfElectronCores, GsfElectronAlgo::InputTagsConfiguration::gsfPfRecTracksTag, hcalCfg_, hcalCfgPflow_, ElectronHcalHelper::Configuration::hcalTowers, GsfElectronAlgo::InputTagsConfiguration::hcalTowersTag, ElectronHcalHelper::Configuration::hOverEConeSize, ElectronHcalHelper::Configuration::hOverEPtMin, inputCfg_, GsfElectronAlgo::IsolationConfiguration::intRadiusHcal, GsfElectronAlgo::StrategyConfiguration::MaxElePtForOnlyMVA, dataset::name, GsfElectronAlgo::InputTagsConfiguration::pfIsoVals, GsfElectronAlgo::InputTagsConfiguration::pflowGsfElectronsTag, pfMVA_, GsfElectronAlgo::StrategyConfiguration::PreSelectMVA, GsfElectronAlgo::InputTagsConfiguration::previousGsfElectrons, GsfElectronAlgo::StrategyConfiguration::pureTrackerDrivenEcalErrorFromSimpleParameterization, GsfElectronAlgo::InputTagsConfiguration::seedsTag, strategyCfg_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, funct::true, GsfElectronAlgo::StrategyConfiguration::useCombinationRegression, GsfElectronAlgo::StrategyConfiguration::useEcalRegression, GsfElectronAlgo::StrategyConfiguration::useGsfPfRecTracks, ElectronHcalHelper::Configuration::useTowers, electronEcalRecHitIsolationLcone_cfi::vetoClustered, and GsfElectronAlgo::InputTagsConfiguration::vtxCollectionTag.
|
override |
|
protected |
Definition at line 371 of file GsfElectronBaseProducer.cc.
References checkEcalSeedingParameters(), ecalSeedingParametersChecked_, inputCfg_, edm::HandleBase::isValid(), edm::parameterSet(), edm::HandleBase::provenance(), GsfElectronAlgo::InputTagsConfiguration::seedsTag, and funct::true.
Referenced by GsfElectronProducer::beginEvent().
|
private |
Definition at line 416 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 48 of file GsfElectronBaseProducer.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSet::getParameter(), 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 392 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(), GsfElectronEcalDrivenProducer::produce(), GEDGsfElectronProducer::produce(), and LowPtGsfElectronProducer::produce().
|
inlinestatic |
Definition at line 43 of file GsfElectronBaseProducer.h.
|
inlinestatic |
Definition at line 39 of file GsfElectronBaseProducer.h.
|
private |
Definition at line 542 of file GsfElectronBaseProducer.cc.
References 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 52 of file GsfElectronBaseProducer.h.
Referenced by GEDGsfElectronProducer::fillGsfElectronValueMap().
|
private |
Definition at line 441 of file GsfElectronBaseProducer.cc.
References GsfElectronAlgo::StrategyConfiguration::ambClustersOverlapStrategy, GsfElectronAlgo::StrategyConfiguration::ambSortingStrategy, GsfElectronAlgo::InputTagsConfiguration::barrelRecHitCollection, particleFlowSuperClusterOOTECAL_cff::barrelRecHits, GsfElectronAlgo::InputTagsConfiguration::beamSpotTag, photonPostprocessing_cfi::eMin, GsfElectronAlgo::InputTagsConfiguration::endcapRecHitCollection, particleFlowSuperClusterOOTECAL_cff::endcapRecHits, PVValHelper::eta, Exception, runEdmFileComparison::found, edm::Ref< C, T, F >::get(), gsfElectronCores_cfi::gsfPfRecTracks, GsfElectronAlgo::InputTagsConfiguration::gsfPfRecTracksTag, inputCfg_, EgAmbiguityTools::isBetter(), EgAmbiguityTools::isInnerMost(), isPreselected(), LogDebug, EgAmbiguityTools::sharedEnergy(), jetUpdater_cfi::sort, strategyCfg_, electronIdCutBased_cfi::threshold, and GsfElectronAlgo::StrategyConfiguration::useGsfPfRecTracks.
Referenced by fillEvent().
|
protected |
Definition at line 48 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronBaseProducer(), GsfElectronProducer::produce(), GsfElectronEcalDrivenProducer::produce(), GEDGsfElectronProducer::produce(), LowPtGsfElectronProducer::produce(), and ~GsfElectronBaseProducer().
|
protected |
Definition at line 57 of file GsfElectronBaseProducer.h.
Referenced by checkEcalSeedingParameters(), GsfElectronProducer::checkPfTranslatorParameters(), GsfElectronBaseProducer(), and GsfElectronProducer::setPflowPreselectionFlag().
|
protected |
Definition at line 58 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::checkPfTranslatorParameters(), GsfElectronBaseProducer(), and GsfElectronProducer::setPflowPreselectionFlag().
|
private |
Definition at line 71 of file GsfElectronBaseProducer.h.
Referenced by beginEvent().
|
private |
Definition at line 75 of file GsfElectronBaseProducer.h.
Referenced by fillEvent().
|
protected |
Definition at line 59 of file GsfElectronBaseProducer.h.
Referenced by checkEcalSeedingParameters(), and GsfElectronBaseProducer().
|
protected |
Definition at line 60 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronBaseProducer().
|
protected |
Definition at line 55 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::addPflowInfo(), beginEvent(), GsfElectronProducer::clonePreviousElectrons(), GsfElectronBaseProducer(), GEDGsfElectronProducer::produce(), and setAmbiguityData().
|
private |
Definition at line 73 of file GsfElectronBaseProducer.h.
Referenced by fillEvent().
|
protected |
Definition at line 63 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::beginEvent(), and GsfElectronBaseProducer().
|
protected |
Definition at line 56 of file GsfElectronBaseProducer.h.
Referenced by GsfElectronProducer::checkPfTranslatorParameters(), fillEvent(), GsfElectronBaseProducer(), isPreselected(), GsfElectronProducer::produce(), and setAmbiguityData().