#include <PFMETProducerMVA.h>
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 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_.
PFMETProducerMVA::~PFMETProducerMVA | ( | ) |
Definition at line 36 of file PFMETProducerMVA.cc.
|
private |
Definition at line 305 of file PFMETProducerMVA.cc.
References RecoTauCleanerPlugins::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(), 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(), chargedEnFrac(), reco::deltaR2(), dPtMatch, dR2Max, edm::Event::getByToken(), istau(), HLT_25ns10e33_v2_cff::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().
|
privatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 38 of file PFMETProducerMVA.cc.
References computeJetInfo(), computeLeptonInfo(), computePFCandidateInfo(), computeVertexInfo(), mvaPFMET_cff::corrector, PFMETAlgorithmMVA::evaluateMVA(), edm::EventID::event(), edm::Event::getByToken(), PFMETAlgorithmMVA::getMEt(), PFMETAlgorithmMVA::getMEtCov(), globalThreshold_, edm::EventBase::id(), PFMETAlgorithmMVA::initialize(), HLT_25ns10e33_v2_cff::leptons, LogDebug, edm::EventBase::luminosityBlock(), CommonMETData::met, metAlgo_, CommonMETData::mex, CommonMETData::mey, minNumLeptons_, mJetCorrector_, eostools::move(), mvaMEtAlgo_, mvaMEtAlgo_isInitialized_, HLT_25ns10e33_v2_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_, and HLT_25ns10e33_v2_cff::vertices.
|
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().