#include <GEDGsfElectronProducer.h>
Public Member Functions | |
GEDGsfElectronProducer (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 |
Private Member Functions | |
void | fillGsfElectronValueMap (edm::Event &event, edm::ValueMap< reco::GsfElectronRef >::Filler &filler) |
void | matchWithPFCandidates (edm::Event &event) |
void | setMVAOutputs (reco::GsfElectronCollection &electrons, const gsfAlgoHelpers::HeavyObjectCache *, const std::map< reco::GsfTrackRef, reco::GsfElectron::MvaOutput > &mvaOutputs, reco::VertexCollection const &vertices) const |
Private Attributes | |
edm::EDGetTokenT< reco::PFCandidateCollection > | egmPFCandidateCollection_ |
std::map< reco::GsfTrackRef, reco::GsfElectron::MvaInput > | gsfMVAInputMap_ |
std::map< reco::GsfTrackRef, reco::GsfElectron::MvaOutput > | gsfMVAOutputMap_ |
Definition at line 9 of file GEDGsfElectronProducer.h.
|
explicit |
Definition at line 30 of file GEDGsfElectronProducer.cc.
|
private |
Definition at line 57 of file GEDGsfElectronProducer.cc.
References begin, egmPFCandidateCollection_, end, runEdmFileComparison::found, edm::helper::Filler< Map >::insert(), GsfElectronBaseProducer::orphanHandle(), patMuonMerger_cfi::pfCandidates, and MuonErrorMatrixValues_cff::values.
Referenced by produce().
|
private |
Definition at line 94 of file GEDGsfElectronProducer.cc.
References reco::GsfElectron::MvaInput::deltaEta, reco::GsfElectron::MvaInput::earlyBrem, egmPFCandidateCollection_, runEdmFileComparison::found, gsfMVAInputMap_, gsfMVAOutputMap_, reco::GsfElectron::MvaInput::hadEnergy, reco::GsfElectron::MvaInput::lateBrem, reco::PFCandidateEGammaExtra::MVA_DeltaEtaTrackCluster, reco::PFCandidateEGammaExtra::MVA_FirstBrem, reco::PFCandidateEGammaExtra::MVA_LateBrem, patMuonMerger_cfi::pfCandidates, reco::GsfElectron::MvaInput::sigmaEtaEta, and reco::GsfElectron::MvaOutput::status.
Referenced by produce().
|
override |
Definition at line 39 of file GEDGsfElectronProducer.cc.
References GsfElectronBaseProducer::algo_, GsfElectronAlgo::completeElectrons(), nano_cff::electrons, GsfElectronBaseProducer::fillEvent(), fillGsfElectronValueMap(), edm::Event::get(), gsfMVAInputMap_, gsfMVAOutputMap_, GsfElectronBaseProducer::inputCfg_, matchWithPFCandidates(), eostools::move(), edm::second(), setMVAOutputs(), and GsfElectronAlgo::InputTagsConfiguration::vtxCollectionTag.
|
private |
Definition at line 134 of file GEDGsfElectronProducer.cc.
References gsfAlgoHelpers::HeavyObjectCache::iElectronMVAEstimator, reco::GsfElectron::MvaOutput::mva_e_pi, reco::GsfElectron::MvaOutput::mva_Isolated, and gsfAlgoHelpers::HeavyObjectCache::sElectronMVAEstimator.
Referenced by produce().
|
private |
Definition at line 17 of file GEDGsfElectronProducer.h.
Referenced by fillGsfElectronValueMap(), and matchWithPFCandidates().
|
private |
Definition at line 18 of file GEDGsfElectronProducer.h.
Referenced by matchWithPFCandidates(), and produce().
|
private |
Definition at line 19 of file GEDGsfElectronProducer.h.
Referenced by matchWithPFCandidates(), and produce().