#include <PFMETProducerMVA.h>
Public Member Functions | |
PFMETProducerMVA (const edm::ParameterSet &) | |
~PFMETProducerMVA () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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<> | |
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 43 of file PFMETProducerMVA.h.
|
private |
Definition at line 92 of file PFMETProducerMVA.h.
PFMETProducerMVA::PFMETProducerMVA | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 9 of file PFMETProducerMVA.cc.
References looper::cfg, globalThreshold_, minCorrJetPt_, minNumLeptons_, mJetCorrector_, srcCorrJets_, srcJetIds_, srcLeptons_, srcPFCandidatesView_, srcUncorrJets_, srcVertices_, useType1_, and verbosity_.
|
override |
Definition at line 32 of file PFMETProducerMVA.cc.
|
private |
Definition at line 333 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 400 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 204 of file PFMETProducerMVA.cc.
References funct::abs(), reco::PUSubMETCandInfo::chargedEnFrac(), reco::JetCorrector::correction(), reco::deltaR2(), dR2Max, dR2Min, minCorrJetPt_, reco::PUSubMETCandInfo::p4(), p4, passPFLooseId(), reco::PUSubMETCandInfo::setChargedEnFrac(), reco::PUSubMETCandInfo::setDZ(), reco::PUSubMETCandInfo::setMvaVal(), reco::PUSubMETCandInfo::setP4(), and useType1_.
Referenced by produce().
|
private |
Definition at line 138 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_2018_cff::leptons, reco::PUSubMETCandInfo::setChargedEnFrac(), reco::PUSubMETCandInfo::setP4(), and srcLeptons_.
Referenced by produce().
|
private |
Definition at line 289 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 320 of file PFMETProducerMVA.cc.
References funct::abs(), bphysicsOniaDQM_cfi::vertex, and pwdgSkimBPark_cfi::vertices.
Referenced by produce().
|
private |
Definition at line 373 of file PFMETProducerMVA.cc.
References reco::Candidate::isElectron(), reco::Candidate::isMuon(), and reco::Candidate::isPhoton().
Referenced by computeLeptonInfo().
|
private |
Definition at line 382 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 34 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_2018_cff::leptons, LogDebug, edm::EventBase::luminosityBlock(), CommonMETData::met, metAlgo_, CommonMETData::mex, CommonMETData::mey, minNumLeptons_, mJetCorrector_, eostools::move(), mvaMEtAlgo_, mvaMEtAlgo_isInitialized_, HLT_2018_cff::numLeptons, p4, 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_, pwdgSkimBPark_cfi::vertices, and badGlobalMuonTaggersAOD_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().