#include <PFMETProducerMVA.h>
Public Member Functions | |
PFMETProducerMVA (const edm::ParameterSet &) | |
~PFMETProducerMVA () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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 45 of file PFMETProducerMVA.h.
|
private |
Definition at line 85 of file PFMETProducerMVA.h.
PFMETProducerMVA::PFMETProducerMVA | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 9 of file PFMETProducerMVA.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), globalThreshold_, minCorrJetPt_, minNumLeptons_, mJetCorrector_, srcCorrJets_, srcJetIds_, srcLeptons_, srcPFCandidatesView_, srcUncorrJets_, srcVertices_, useType1_, and verbosity_.
|
override |
Definition at line 36 of file PFMETProducerMVA.cc.
|
private |
Definition at line 305 of file PFMETProducerMVA.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, chargedFracInCone(), reco::Candidate::isElectron(), reco::Candidate::isMuon(), reco::Candidate::isPhoton(), EnergyCorrector::pt, pat::Tau::signalCands(), reco::PFTau::signalPFCands(), and edm::PtrVectorBase::size().
Referenced by computeLeptonInfo().
|
private |
Definition at line 356 of file PFMETProducerMVA.cc.
References funct::abs(), edm::View< T >::begin(), DEFINE_FWK_MODULE, reco::deltaR2(), pat::PackedCandidate::dz(), edm::View< T >::end(), reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNonnull(), reco::Candidate::p4(), reco::Vertex::position(), reco::Candidate::pt(), and reco::PFCandidate::trackRef().
Referenced by chargedEnFrac().
|
private |
Definition at line 191 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 141 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, AK4GenJetFlavourInfos_cfi::leptons, reco::PUSubMETCandInfo::setChargedEnFrac(), reco::PUSubMETCandInfo::setP4(), and srcLeptons_.
Referenced by produce().
|
private |
Definition at line 264 of file PFMETProducerMVA.cc.
References funct::abs(), edm::View< T >::begin(), pat::PackedCandidate::dz(), edm::View< T >::end(), reco::PFCandidate::gsfTrackRef(), edm::Ref< C, T, F >::isNonnull(), reco::Vertex::position(), reco::PUSubMETCandInfo::setDZ(), reco::PUSubMETCandInfo::setP4(), and reco::PFCandidate::trackRef().
Referenced by produce().
|
private |
Definition at line 293 of file PFMETProducerMVA.cc.
References funct::abs().
Referenced by produce().
|
private |
Definition at line 339 of file PFMETProducerMVA.cc.
References reco::Candidate::isElectron(), reco::Candidate::isMuon(), and reco::Candidate::isPhoton().
Referenced by computeLeptonInfo().
|
private |
Definition at line 345 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 38 of file PFMETProducerMVA.cc.
References computeJetInfo(), computeLeptonInfo(), computePFCandidateInfo(), computeVertexInfo(), mitigatedMETSequence_cff::corrector, PFMETAlgorithmMVA::evaluateMVA(), edm::EventID::event(), edm::Event::getByToken(), PFMETAlgorithmMVA::getMEt(), PFMETAlgorithmMVA::getMEtCov(), globalThreshold_, edm::EventBase::id(), PFMETAlgorithmMVA::initialize(), AK4CaloJetsMCFlavour_cff::leptonInfo, AK4GenJetFlavourInfos_cfi::leptons, LogDebug, edm::EventBase::luminosityBlock(), CommonMETData::met, metAlgo_, CommonMETData::mex, CommonMETData::mey, minNumLeptons_, mJetCorrector_, eostools::move(), mvaMEtAlgo_, mvaMEtAlgo_isInitialized_, 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(), edm::View< T >::size(), srcCorrJets_, srcJetIds_, srcLeptons_, srcPFCandidatesView_, srcUncorrJets_, srcVertices_, CommonMETData::sumet, useType1_, electrons_cff::vertices, and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 91 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 95 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 93 of file PFMETProducerMVA.h.
Referenced by computeJetInfo(), and PFMETProducerMVA().
|
private |
Definition at line 87 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 84 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 97 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 98 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 96 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 78 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 80 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 86 of file PFMETProducerMVA.h.
Referenced by computeLeptonInfo(), PFMETProducerMVA(), and produce().
|
private |
Definition at line 82 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 79 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 83 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 89 of file PFMETProducerMVA.h.
Referenced by computeJetInfo(), PFMETProducerMVA(), and produce().
|
private |
Definition at line 101 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA().