#include <PFElectronTranslator.h>
Public Types | |
typedef std::vector< edm::Handle< edm::ValueMap< double > > > | IsolationValueMaps |
Public Types inherited from edm::stream::EDProducer<> | |
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 |
Public Member Functions | |
PFElectronTranslator (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PFElectronTranslator () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Definition at line 23 of file PFElectronTranslator.h.
typedef std::vector< edm::Handle< edm::ValueMap<double> > > PFElectronTranslator::IsolationValueMaps |
Definition at line 31 of file PFElectronTranslator.h.
|
explicit |
Definition at line 22 of file PFElectronTranslator.cc.
References checkStatusFlag_, emptyIsOk_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), GsfElectronCollection_, GsfElectronCoreCollection_, inputTagGSFTracks_, inputTagIsoVals_, inputTagPFCandidateElectrons_, inputTagPFCandidates_, MVACut_, PFBasicClusterCollection_, PFMVAValueMap_, PFPreshowerClusterCollection_, PFSCValueMap_, PFSuperClusterCollection_, AlCaHLTBitMon_QueryRunRegistry::string, and gedGsfElectrons_cfi::useIsolationValues.
|
override |
Definition at line 72 of file PFElectronTranslator.cc.
|
private |
Definition at line 528 of file PFElectronTranslator.cc.
References reco::Candidate::begin(), reco::PFCandidate::elementsInBlocks(), reco::Candidate::end(), and reco::PFBlockElement::index().
Referenced by produce().
|
private |
Definition at line 285 of file PFElectronTranslator.cc.
References reco::CaloCluster::algo(), reco::CaloCluster::caloID(), reco::PFBlockElement::clusterRef(), reco::CaloCluster::hitsAndFractions(), edm::Ref< C, T, F >::isNull(), reco::CaloCluster::position(), reco::PFCandidate::rawEcalEnergy(), and reco::CaloCluster::seed().
Referenced by produce().
|
private |
Definition at line 317 of file PFElectronTranslator.cc.
References basicClusterPtr_, basicClusters_, GsfTrackRef_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 566 of file PFElectronTranslator.cc.
References gsfElectronCoreRefs_, GsfTrackRef_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 552 of file PFElectronTranslator.cc.
References GsfTrackRef_, kfTrackRef_, scMap_, reco::GsfElectronCore::setCtfTrack(), and reco::GsfElectronCore::setParentSuperCluster().
Referenced by produce().
|
private |
Definition at line 587 of file PFElectronTranslator.cc.
References reco::GsfElectron::addAmbiguousGsfTrack(), ambiguousGsfTracks_, CandidatePtr_, reco::GsfElectron::MvaInput::deltaEta, reco::PFCandidate::deltaP(), reco::GsfElectron::MvaInput::earlyBrem, reco::PFCandidate::electronExtraRef(), reco::GsfElectron::MvaInput::etOutsideMustache, gsfElectronCoreRefs_, gsfPFCandidateIndex_, GsfTrackRef_, reco::GsfElectron::MvaInput::hadEnergy, reco::GsfElectron::MvaInput::lateBrem, reco::Mustache::MustacheID(), reco::PFCandidateElectronExtra::MVA_DeltaEtaTrackCluster, reco::PFCandidate::mva_e_pi(), reco::GsfElectron::MvaOutput::mva_e_pi, reco::PFCandidateElectronExtra::MVA_FirstBrem, reco::PFCandidateElectronExtra::MVA_LateBrem, reco::GsfElectron::MvaInput::nClusterOutsideMustache, reco::LeafCandidate::p4(), reco::GsfElectron::P4_PFLOW_COMBINATION, reco::GsfElectron::setMvaInput(), reco::GsfElectron::setMvaOutput(), reco::GsfElectron::setP4(), reco::GsfElectron::setPfIsolationVariables(), reco::GsfElectron::MvaInput::sigmaEtaEta, findQualityFiles::size, reco::GsfElectron::MvaOutput::status, reco::GsfElectron::PflowIsolationVariables::sumChargedHadronPt, reco::GsfElectron::PflowIsolationVariables::sumNeutralHadronEt, reco::GsfElectron::PflowIsolationVariables::sumPhotonEt, and reco::GsfElectron::PflowIsolationVariables::sumPUPt.
Referenced by produce().
|
private |
Definition at line 310 of file PFElectronTranslator.cc.
References reco::PFBlockElement::clusterRef().
Referenced by produce().
|
private |
Definition at line 336 of file PFElectronTranslator.cc.
References GsfTrackRef_, preshowerClusterPtr_, preshowerClusters_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 355 of file PFElectronTranslator.cc.
References GsfTrackRef_, scMap_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 438 of file PFElectronTranslator.cc.
References reco::SuperCluster::addCluster(), reco::CaloCluster::addHitAndFraction(), reco::SuperCluster::addPreshowerCluster(), basicClusterPtr_, basicClusters_, MillePedeFileConverter_cfg::e, gsfPFCandidateIndex_, GsfTrackRef_, pfClusters_, PFClusterWidthAlgo::pflowEtaWidth(), PFClusterWidthAlgo::pflowPhiWidth(), RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, preshowerClusterPtr_, reco::SuperCluster::rawEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), reco::SuperCluster::setPreshowerEnergy(), and reco::SuperCluster::setSeed().
Referenced by produce().
|
private |
Definition at line 252 of file PFElectronTranslator.cc.
References emptyIsOk_, runEdmFileComparison::found, and edm::Event::getByLabel().
Referenced by fillMVAValueMap(), and produce().
|
private |
Definition at line 268 of file PFElectronTranslator.cc.
References Exception, runEdmFileComparison::found, and edm::Event::getByLabel().
Referenced by fillMVAValueMap(), and fillSCRefValueMap().
|
private |
Definition at line 367 of file PFElectronTranslator.cc.
References reco::PFCandidate::e, fetchCandidateCollection(), fetchGsfCollection(), gsfMvaMap_, reco::PFCandidate::gsfTrackRef(), gedGsfElectronCores_cfi::gsfTracks, mps_fire::i, inputTagGSFTracks_, inputTagPFCandidateElectrons_, edm::helper::Filler< Map >::insert(), edm::Ref< C, T, F >::isNull(), reco::PFCandidate::mva_e_pi(), reco::PFCandidate::particleId(), slimmedMuons_cfi::pfCandidates, mps_update::status, and MuonErrorMatrixValues_cff::values.
Referenced by produce().
|
private |
Definition at line 411 of file PFElectronTranslator.cc.
References fetchGsfCollection(), gedGsfElectronCores_cfi::gsfTracks, inputTagGSFTracks_, edm::helper::Filler< Map >::insert(), scMap_, and MuonErrorMatrixValues_cff::values.
Referenced by produce().
|
private |
|
private |
Definition at line 576 of file PFElectronTranslator.cc.
References reco::PFBlockElementGsfTrack::GsftrackRefPF().
Referenced by produce().
|
override |
Definition at line 74 of file PFElectronTranslator.cc.
References ambiguousGsfTracks_, basicClusterPtr_, basicClusters_, CandidatePtr_, checkStatusFlag_, correspondingDaughterCandidate(), createBasicCluster(), createBasicClusterPtrs(), createGsfElectronCoreRefs(), createGsfElectronCores(), createGsfElectrons(), createPreshowerCluster(), createPreshowerClusterPtrs(), createSuperClusterGsfMapRefs(), createSuperClusters(), reco::PFCandidate::e, reco::PFBlockElement::ECAL, reco::PFCandidate::electronExtraRef(), allElectronIsolations_cfi::elements, reco::PFCandidate::elementsInBlocks(), fetchCandidateCollection(), fillMVAValueMap(), fillSCRefValueMap(), getAmbiguousGsfTracks(), edm::Event::getByLabel(), reco::PFBlockElement::GSF, GsfElectronCollection_, GsfElectronCoreCollection_, gsfElectronCoreRefs_, gsfPFCandidateIndex_, reco::PFCandidate::gsfTrackRef(), GsfTrackRef_, mps_fire::i, inputTagIsoVals_, inputTagPFCandidates_, edm::Ref< C, T, F >::isNull(), electronProducer_cff::isolationValues, kfTrackRef_, eostools::move(), reco::PFCandidate::mva_e_pi(), MVACut_, reco::PFCandidate::particleId(), PFBasicClusterCollection_, slimmedMuons_cfi::pfCandidates, pfClusters_, PFMVAValueMap_, PFPreshowerClusterCollection_, PFSCValueMap_, PFSuperClusterCollection_, preshowerClusterPtr_, preshowerClusters_, reco::PFBlockElement::PS1, reco::PFBlockElement::PS2, edm::Event::put(), scMap_, reco::PFCandidateElectronExtra::Selected, mps_update::status, superClusters_, reco::PFCandidate::trackRef(), and reco::PFBlockElement::type().
|
private |
Definition at line 110 of file PFElectronTranslator.h.
Referenced by createGsfElectrons(), and produce().
|
private |
Definition at line 120 of file PFElectronTranslator.h.
Referenced by createBasicClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 112 of file PFElectronTranslator.h.
Referenced by createBasicClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 106 of file PFElectronTranslator.h.
Referenced by createGsfElectrons(), and produce().
|
private |
Definition at line 100 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 131 of file PFElectronTranslator.h.
Referenced by fetchCandidateCollection(), and PFElectronTranslator().
|
private |
Definition at line 98 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 97 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 124 of file PFElectronTranslator.h.
Referenced by createGsfElectronCoreRefs(), createGsfElectrons(), and produce().
|
private |
Definition at line 129 of file PFElectronTranslator.h.
Referenced by fillMVAValueMap().
|
private |
Definition at line 126 of file PFElectronTranslator.h.
Referenced by createGsfElectrons(), createSuperClusters(), and produce().
|
private |
Definition at line 104 of file PFElectronTranslator.h.
Referenced by createBasicClusterPtrs(), createGsfElectronCoreRefs(), createGsfElectronCores(), createGsfElectrons(), createPreshowerClusterPtrs(), createSuperClusterGsfMapRefs(), createSuperClusters(), and produce().
|
private |
Definition at line 90 of file PFElectronTranslator.h.
Referenced by fillMVAValueMap(), fillSCRefValueMap(), and PFElectronTranslator().
|
private |
Definition at line 91 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 89 of file PFElectronTranslator.h.
Referenced by fillMVAValueMap(), and PFElectronTranslator().
|
private |
Definition at line 88 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 108 of file PFElectronTranslator.h.
Referenced by createGsfElectronCores(), and produce().
|
private |
Definition at line 99 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 92 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 114 of file PFElectronTranslator.h.
Referenced by createSuperClusters(), and produce().
|
private |
Definition at line 95 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 93 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 96 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 94 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 122 of file PFElectronTranslator.h.
Referenced by createPreshowerClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 116 of file PFElectronTranslator.h.
Referenced by createPreshowerClusterPtrs(), and produce().
|
private |
Definition at line 128 of file PFElectronTranslator.h.
Referenced by createGsfElectronCores(), createSuperClusterGsfMapRefs(), fillSCRefValueMap(), and produce().
|
private |
Definition at line 118 of file PFElectronTranslator.h.
Referenced by produce().