Public Types | |
typedef std::vector< edm::Handle< edm::ValueMap< double > > > | IsolationValueMaps |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::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 | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Definition at line 28 of file PFElectronTranslator.cc.
typedef std::vector<edm::Handle<edm::ValueMap<double> > > PFElectronTranslator::IsolationValueMaps |
Definition at line 35 of file PFElectronTranslator.cc.
|
explicit |
Definition at line 143 of file PFElectronTranslator.cc.
References checkStatusFlag_, ecalMustacheSCParametersToken_, emptyIsOk_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), GsfElectronCollection_, GsfElectronCoreCollection_, inputTagGSFTracks_, inputTagIsoVals_, inputTagPFCandidateElectrons_, inputTagPFCandidates_, MVACut_, PFBasicClusterCollection_, PFMVAValueMap_, PFPreshowerClusterCollection_, PFSCValueMap_, PFSuperClusterCollection_, AlCaHLTBitMon_QueryRunRegistry::string, and pfElectronTranslator_cfi::useIsolationValues.
|
override |
Definition at line 188 of file PFElectronTranslator.cc.
|
private |
Definition at line 598 of file PFElectronTranslator.cc.
References reco::PFCandidate::elementsInBlocks(), and reco::PFBlockElement::index().
Referenced by produce().
|
private |
Definition at line 387 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 419 of file PFElectronTranslator.cc.
References basicClusterPtr_, basicClusters_, GsfTrackRef_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 631 of file PFElectronTranslator.cc.
References gsfElectronCoreRefs_, GsfTrackRef_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 619 of file PFElectronTranslator.cc.
References GsfTrackRef_, kfTrackRef_, scMap_, reco::GsfElectronCore::setCtfTrack(), and reco::GsfElectronCore::setParentSuperCluster().
Referenced by produce().
|
private |
Definition at line 654 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, displacedMuonProducer_cff::isolationValues, reco::GsfElectron::MvaInput::lateBrem, reco::Mustache::MustacheID(), mustacheSCParams_, 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, vertices_cff::ntracks, reco::LeafCandidate::p4(), reco::GsfElectron::P4_PFLOW_COMBINATION, reco::GsfElectron::parentSuperCluster(), pfDeepBoostedJetPreprocessParams_cfi::pfcand, 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 411 of file PFElectronTranslator.cc.
References reco::PFBlockElement::clusterRef().
Referenced by produce().
|
private |
Definition at line 438 of file PFElectronTranslator.cc.
References GsfTrackRef_, preshowerClusterPtr_, preshowerClusters_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 457 of file PFElectronTranslator.cc.
References GsfTrackRef_, scMap_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 522 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(), reco::SuperCluster::setSeed(), HLT_2023v12_cff::superClusters, and trackerHitRTTI::vector.
Referenced by produce().
|
private |
Definition at line 358 of file PFElectronTranslator.cc.
References HltBtagPostValidation_cff::c, emptyIsOk_, submitPVResolutionJobs::err, newFWLiteAna::found, iEvent, and makeGlobalPositionRcd_cfg::tag.
Referenced by fillMVAValueMap(), and produce().
|
private |
Definition at line 371 of file PFElectronTranslator.cc.
References HltBtagPostValidation_cff::c, submitPVResolutionJobs::err, Exception, newFWLiteAna::found, iEvent, and makeGlobalPositionRcd_cfg::tag.
Referenced by fillMVAValueMap(), and fillSCRefValueMap().
|
private |
Definition at line 468 of file PFElectronTranslator.cc.
References reco::PFCandidate::e, fetchCandidateCollection(), fetchGsfCollection(), trigObjTnPSource_cfi::filler, gsfMvaMap_, ecalDrivenGsfElectronCoresHGC_cff::gsfTracks, mps_fire::i, iEvent, inputTagGSFTracks_, inputTagPFCandidateElectrons_, zmumugammaAnalyzer_cfi::pfCandidates, mps_update::status, and contentValuesCheck::values.
Referenced by produce().
|
private |
Definition at line 503 of file PFElectronTranslator.cc.
References fetchGsfCollection(), trigObjTnPSource_cfi::filler, ecalDrivenGsfElectronCoresHGC_cff::gsfTracks, iEvent, inputTagGSFTracks_, scMap_, and contentValuesCheck::values.
Referenced by produce().
|
private |
|
private |
Definition at line 642 of file PFElectronTranslator.cc.
References reco::PFBlockElementGsfTrack::GsftrackRefPF(), vertices_cff::ntracks, and pwdgSkimBPark_cfi::tracks.
Referenced by produce().
|
override |
Definition at line 190 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, ecalMustacheSCParametersToken_, bookConverter::elements, fetchCandidateCollection(), fillMVAValueMap(), fillSCRefValueMap(), getAmbiguousGsfTracks(), edm::EventSetup::getData(), reco::PFBlockElement::GSF, GsfElectronCollection_, GsfElectronCoreCollection_, gsfElectronCoreRefs_, gsfPFCandidateIndex_, GsfTrackRef_, mps_fire::i, iEvent, inputTagIsoVals_, inputTagPFCandidates_, edm::Ref< C, T, F >::isNull(), displacedMuonProducer_cff::isolationValues, dqmiolumiharvest::j, kfTrackRef_, eostools::move(), mustacheSCParams_, MVACut_, PFBasicClusterCollection_, zmumugammaAnalyzer_cfi::pfCandidates, pfClusters_, PFMVAValueMap_, PFPreshowerClusterCollection_, PFSCValueMap_, PFSuperClusterCollection_, preshowerClusterPtr_, preshowerClusters_, reco::PFBlockElement::PS1, reco::PFBlockElement::PS2, scMap_, reco::PFCandidateElectronExtra::Selected, mps_update::status, superClusters_, and reco::PFBlockElement::type().
|
private |
Definition at line 113 of file PFElectronTranslator.cc.
Referenced by createGsfElectrons(), and produce().
|
private |
Definition at line 123 of file PFElectronTranslator.cc.
Referenced by createBasicClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 115 of file PFElectronTranslator.cc.
Referenced by createBasicClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 109 of file PFElectronTranslator.cc.
Referenced by createGsfElectrons(), and produce().
|
private |
Definition at line 103 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 135 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 138 of file PFElectronTranslator.cc.
Referenced by fetchCandidateCollection(), and PFElectronTranslator().
|
private |
Definition at line 101 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 100 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 127 of file PFElectronTranslator.cc.
Referenced by createGsfElectronCoreRefs(), createGsfElectrons(), and produce().
|
private |
Definition at line 132 of file PFElectronTranslator.cc.
Referenced by fillMVAValueMap().
|
private |
Definition at line 129 of file PFElectronTranslator.cc.
Referenced by createGsfElectrons(), createSuperClusters(), and produce().
|
private |
Definition at line 107 of file PFElectronTranslator.cc.
Referenced by createBasicClusterPtrs(), createGsfElectronCoreRefs(), createGsfElectronCores(), createGsfElectrons(), createPreshowerClusterPtrs(), createSuperClusterGsfMapRefs(), createSuperClusters(), and produce().
|
private |
Definition at line 93 of file PFElectronTranslator.cc.
Referenced by fillMVAValueMap(), fillSCRefValueMap(), and PFElectronTranslator().
|
private |
Definition at line 94 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 92 of file PFElectronTranslator.cc.
Referenced by fillMVAValueMap(), and PFElectronTranslator().
|
private |
Definition at line 91 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 111 of file PFElectronTranslator.cc.
Referenced by createGsfElectronCores(), and produce().
|
private |
Definition at line 136 of file PFElectronTranslator.cc.
Referenced by createGsfElectrons(), and produce().
|
private |
Definition at line 102 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 95 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 117 of file PFElectronTranslator.cc.
Referenced by createSuperClusters(), and produce().
|
private |
Definition at line 98 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 96 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 99 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 97 of file PFElectronTranslator.cc.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 125 of file PFElectronTranslator.cc.
Referenced by createPreshowerClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 119 of file PFElectronTranslator.cc.
Referenced by createPreshowerClusterPtrs(), and produce().
|
private |
Definition at line 131 of file PFElectronTranslator.cc.
Referenced by createGsfElectronCores(), createSuperClusterGsfMapRefs(), fillSCRefValueMap(), and produce().
|
private |
Definition at line 121 of file PFElectronTranslator.cc.
Referenced by produce().