#include <PFMETProducerMVA.h>
Private Types | |
typedef std::vector < edm::InputTag > | vInputTag |
Private Attributes | |
std::string | correctorLabel_ |
double | globalThreshold_ |
bool | isOld42_ |
METAlgo | metAlgo_ |
double | minCorrJetPt_ |
int | minNumLeptons_ |
PileupJetIdAlgo | mvaJetIdAlgo_ |
PFMETAlgorithmMVA | mvaMEtAlgo_ |
bool | mvaMEtAlgo_isInitialized_ |
PFSpecificAlgo | pfMEtSpecificAlgo_ |
edm::EDGetTokenT < reco::PFJetCollection > | srcCorrJets_ |
std::vector< edm::EDGetTokenT < edm::View< reco::Candidate > > > | srcLeptons_ |
edm::EDGetTokenT < reco::PFCandidateCollection > | srcPFCandidates_ |
edm::EDGetTokenT< edm::View < reco::Candidate > > | srcPFCandidatesView_ |
edm::EDGetTokenT< edm::Handle < double > > | srcRho_ |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 39 of file PFMETProducerMVA.h.
|
private |
Definition at line 69 of file PFMETProducerMVA.h.
PFMETProducerMVA::PFMETProducerMVA | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 59 of file PFMETProducerMVA.cc.
References edm::EDConsumerBase::consumes(), correctorLabel_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), globalThreshold_, isOld42_, LogDebug, minCorrJetPt_, minNumLeptons_, srcCorrJets_, srcLeptons_, srcPFCandidates_, srcPFCandidatesView_, srcRho_, srcUncorrJets_, srcVertices_, AlCaHLTBitMon_QueryRunRegistry::string, useType1_, and verbosity_.
PFMETProducerMVA::~PFMETProducerMVA | ( | ) |
Definition at line 100 of file PFMETProducerMVA.cc.
|
private |
Definition at line 349 of file PFMETProducerMVA.cc.
References chargedFracInCone(), reco::Candidate::isElectron(), reco::Candidate::isMuon(), reco::Candidate::isPhoton(), EnergyCorrector::pt, reco::PFTau::signalPFCands(), and pat::Tau::signalPFCands().
Referenced by produce().
|
private |
Definition at line 400 of file PFMETProducerMVA.cc.
References funct::abs(), reco::deltaR2(), reco::Candidate::p4(), reco::Vertex::position(), and reco::Candidate::pt().
Referenced by chargedFrac().
|
private |
Definition at line 252 of file PFMETProducerMVA.cc.
References PileupJetIdAlgo::computeIdVariables(), L1FastjetCorrector::correction(), reco::deltaR2(), dR2Max, dR2Min, mvaMEtUtilities::pfCandInfo::dZ_, minCorrJetPt_, PileupJetIdentifier::mva(), mvaMEtUtilities::JetInfo::mva_, mvaJetIdAlgo_, mvaMEtUtilities::JetInfo::neutralEnFrac_, mvaMEtUtilities::pfCandInfo::p4_, mvaMEtUtilities::JetInfo::p4_, passPFLooseId(), and useType1_.
Referenced by produce().
|
private |
Definition at line 317 of file PFMETProducerMVA.cc.
References funct::abs(), mvaMEtUtilities::pfCandInfo::dZ_, mvaMEtUtilities::pfCandInfo::p4_, and reco::Vertex::position().
Referenced by produce().
|
private |
Definition at line 337 of file PFMETProducerMVA.cc.
References funct::abs().
Referenced by produce().
|
private |
Definition at line 383 of file PFMETProducerMVA.cc.
References reco::Candidate::isElectron(), reco::Candidate::isMuon(), and reco::Candidate::isPhoton().
Referenced by produce().
|
private |
Definition at line 389 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().
|
privatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 102 of file PFMETProducerMVA.cc.
References funct::abs(), chargedFrac(), mvaMEtUtilities::leptonInfo::chargedFrac_, computeJetInfo(), computePFCandidateInfo(), computeVertexInfo(), mvaPFMET_cff::corrector, correctorLabel_, reco::deltaR2(), dPtMatch, dR2Max, PFMETAlgorithmMVA::evaluateMVA(), edm::EventID::event(), edm::Event::getByToken(), JetCorrector::getJetCorrector(), PFMETAlgorithmMVA::getMEt(), PFMETAlgorithmMVA::getMEtCov(), globalThreshold_, edm::EventBase::id(), PFMETAlgorithmMVA::initialize(), istau(), EgammaValidation_Wenu_cff::leptons, LogDebug, edm::EventBase::luminosityBlock(), CommonMETData::met, metAlgo_, CommonMETData::mex, CommonMETData::mey, minNumLeptons_, mvaMEtAlgo_, mvaMEtAlgo_isInitialized_, p4, reco::LeafCandidate::p4(), mvaMEtUtilities::leptonInfo::p4_, reco::tau::pfCandidates(), 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_, srcLeptons_, srcPFCandidates_, srcPFCandidatesView_, srcUncorrJets_, srcVertices_, CommonMETData::sumet, and useType1_.
|
private |
Definition at line 74 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 78 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 75 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA().
|
private |
Definition at line 82 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 80 of file PFMETProducerMVA.h.
Referenced by computeJetInfo(), and PFMETProducerMVA().
|
private |
Definition at line 71 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 86 of file PFMETProducerMVA.h.
Referenced by computeJetInfo().
|
private |
Definition at line 84 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 85 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 83 of file PFMETProducerMVA.h.
Referenced by produce().
|
private |
Definition at line 64 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 70 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 66 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 67 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 72 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA().
|
private |
Definition at line 65 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 68 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA(), and produce().
|
private |
Definition at line 76 of file PFMETProducerMVA.h.
Referenced by computeJetInfo(), PFMETProducerMVA(), and produce().
|
private |
Definition at line 88 of file PFMETProducerMVA.h.
Referenced by PFMETProducerMVA().