#include <PFMETProducerMVA.h>
Public Member Functions | |
PFMETProducerMVA (const edm::ParameterSet &) | |
~PFMETProducerMVA () 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 |
Private Types | |
typedef std::vector< edm::InputTag > | vInputTag |
Private Attributes | |
double | globalThreshold_ |
METAlgo | metAlgo_ |
double | minCorrJetPt_ |
int | minNumLeptons_ |
edm::EDGetTokenT< reco::JetCorrector > | mJetCorrector_ |
PFMETAlgorithmMVA | mvaMEtAlgo_ |
bool | mvaMEtAlgo_isInitialized_ |
PFSpecificAlgo | pfMEtSpecificAlgo_ |
edm::EDGetTokenT< reco::PFJetCollection > | srcCorrJets_ |
edm::EDGetTokenT< edm::ValueMap< float > > | srcJetIds_ |
std::vector< edm::EDGetTokenT< reco::CandidateView > > | srcLeptons_ |
edm::EDGetTokenT< edm::View< reco::Candidate > > | srcPFCandidatesView_ |
edm::EDGetTokenT< reco::PFJetCollection > | srcUncorrJets_ |
edm::EDGetTokenT< reco::VertexCollection > | srcVertices_ |
bool | useType1_ |
int | verbosity_ |
Additional Inherited Members | |
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 |
Definition at line 43 of file PFMETProducerMVA.h.
|
private |
Definition at line 92 of file PFMETProducerMVA.h.
PFMETProducerMVA::PFMETProducerMVA | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 10 of file PFMETProducerMVA.cc.
References looper::cfg, globalThreshold_, minCorrJetPt_, minNumLeptons_, mJetCorrector_, srcCorrJets_, srcJetIds_, srcLeptons_, srcPFCandidatesView_, srcUncorrJets_, srcVertices_, useType1_, and verbosity_.
|
override |
Definition at line 34 of file PFMETProducerMVA.cc.
|
private |
Definition at line 335 of file PFMETProducerMVA.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, chargedFracInCone(), reco::Candidate::isElectron(), reco::Candidate::isMuon(), reco::Candidate::isPhoton(), zmumugammaAnalyzer_cfi::pfCandidates, DiDispStaMuonMonitor_cfi::pt, reco::PFTau::signalCands(), pat::Tau::signalCands(), and edm::PtrVectorBase::size().
Referenced by computeLeptonInfo().
|
private |
Definition at line 402 of file PFMETProducerMVA.cc.
References funct::abs(), reco::deltaR2(), pat::PackedCandidate::dz(), reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNonnull(), reco::Candidate::p4(), zmumugammaAnalyzer_cfi::pfCandidates, reco::Vertex::position(), reco::Candidate::pt(), and reco::PFCandidate::trackRef().
Referenced by chargedEnFrac().
|
private |
Definition at line 206 of file PFMETProducerMVA.cc.
References funct::abs(), reco::PUSubMETCandInfo::chargedEnFrac(), reco::JetCorrector::correction(), reco::deltaR2(), dR2Max, dR2Min, minCorrJetPt_, reco::PUSubMETCandInfo::p4(), passPFLooseId(), reco::PUSubMETCandInfo::setChargedEnFrac(), reco::PUSubMETCandInfo::setDZ(), reco::PUSubMETCandInfo::setMvaVal(), reco::PUSubMETCandInfo::setP4(), jetUpdater_cfi::sort, and useType1_.
Referenced by produce().
|
private |
Definition at line 140 of file PFMETProducerMVA.cc.
References funct::abs(), edm::View< T >::begin(), chargedEnFrac(), reco::deltaR2(), dPtMatch, dR2Max, edm::View< T >::end(), edm::Event::getByToken(), istau(), AK4CaloJetsMCFlavour_cff::leptonInfo, HLT_2022v12_cff::leptons, reco::PUSubMETCandInfo::setChargedEnFrac(), reco::PUSubMETCandInfo::setP4(), srcLeptons_, and trackerHitRTTI::vector.
Referenced by produce().
|
private |
Definition at line 291 of file PFMETProducerMVA.cc.
References funct::abs(), pat::PackedCandidate::dz(), reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNonnull(), zmumugammaAnalyzer_cfi::pfCandidates, reco::Vertex::position(), reco::PUSubMETCandInfo::setDZ(), reco::PUSubMETCandInfo::setP4(), and reco::PFCandidate::trackRef().
Referenced by produce().
|
private |
Definition at line 322 of file PFMETProducerMVA.cc.
References funct::abs(), bphysicsOniaDQM_cfi::vertex, and AlignmentTracksFromVertexSelector_cfi::vertices.
Referenced by produce().
|
private |
Definition at line 375 of file PFMETProducerMVA.cc.
References reco::Candidate::isElectron(), reco::Candidate::isMuon(), and reco::Candidate::isPhoton().
Referenced by computeLeptonInfo().
|
private |
Definition at line 384 of file PFMETProducerMVA.cc.
References funct::abs(), reco::PFJet::chargedEmEnergy(), reco::PFJet::chargedHadronEnergy(), reco::PFJet::chargedMultiplicity(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), reco::Jet::nConstituents(), reco::PFJet::neutralEmEnergy(), and reco::PFJet::neutralHadronEnergy().
Referenced by computeJetInfo().
|
overrideprivate |
Definition at line 36 of file PFMETProducerMVA.cc.
References computeJetInfo(), computeLeptonInfo(), computePFCandidateInfo(), computeVertexInfo(), pfClustersFromHGC3DClusters_cfi::corrector, PFMETAlgorithmMVA::evaluateMVA(), edm::EventID::event(), edm::Event::getByToken(), PFMETAlgorithmMVA::getMEt(), PFMETAlgorithmMVA::getMEtCov(), globalThreshold_, edm::EventBase::id(), PFMETAlgorithmMVA::initialize(), AK4CaloJetsMCFlavour_cff::leptonInfo, HLT_2022v12_cff::leptons, LogDebug, edm::EventBase::luminosityBlock(), CommonMETData::met, metAlgo_, CommonMETData::mex, CommonMETData::mey, minNumLeptons_, mJetCorrector_, eostools::move(), mvaMEtAlgo_, mvaMEtAlgo_isInitialized_, HLT_2022v12_cff::numLeptons, reco::LeafCandidate::p4(), pfMEtSpecificAlgo_, reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), edm::Event::put(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), PFSpecificAlgo::run(), METAlgo::run(), edm::EventID::run(), PFMETAlgorithmMVA::setHasPhotons(), PFMETAlgorithmMVA::setInput(), reco::LeafCandidate::setP4(), reco::MET::setSignificanceMatrix(), srcCorrJets_, srcJetIds_, srcLeptons_, srcPFCandidatesView_, srcUncorrJets_, srcVertices_, CommonMETData::sumet, useType1_, trackerHitRTTI::vector, AlignmentTracksFromVertexSelector_cfi::vertices, and extraflags_cff::vtx.
|
private |
Definition at line 98 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 102 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 100 of file PFMETProducerMVA.h.
Referenced by computeJetInfo(), and PFMETProducerMVA().
|
private |
Definition at line 94 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 91 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 104 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 105 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 103 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 85 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 87 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 93 of file PFMETProducerMVA.h.
Referenced by computeLeptonInfo(), PFMETProducerMVA(), and produce().
|
private |
Definition at line 89 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 86 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 90 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 96 of file PFMETProducerMVA.h.
Referenced by computeJetInfo(), PFMETProducerMVA(), and produce().
|
private |
Definition at line 108 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA().