#include <METSignificance.h>
Public Member Functions | |
reco::METCovMatrix | getCovariance (const edm::View< reco::Jet > &jets, const std::vector< edm::Handle< reco::CandidateView > > &leptons, const edm::View< reco::Candidate > &pfCandidates, double rho, JME::JetResolution &resPtObj, JME::JetResolution &resPhiObj, JME::JetResolutionScaleFactor &resSFObj, bool isRealData) |
double | getSignificance (const reco::METCovMatrix &cov, const reco::MET &met) const |
METSignificance (const edm::ParameterSet &iConfig) | |
~METSignificance () | |
Private Member Functions | |
bool | cleanJet (const reco::Jet &jet, const std::vector< edm::Handle< reco::CandidateView > > &leptons) |
Private Attributes | |
double | dR2match_ |
std::vector< double > | jetEtas_ |
std::vector< double > | jetParams_ |
double | jetThreshold_ |
std::vector< double > | pjetParams_ |
Definition at line 35 of file METSignificance.h.
METSignificance::METSignificance | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 20 of file METSignificance.cc.
References dR2match_, edm::ParameterSet::getParameter(), jetEtas_, jetParams_, jetThreshold_, and pjetParams_.
METSignificance::~METSignificance | ( | ) |
Definition at line 34 of file METSignificance.cc.
|
private |
Definition at line 186 of file METSignificance.cc.
References reco::deltaR2(), and HLT_25ns10e33_v2_cff::leptons.
reco::METCovMatrix METSignificance::getCovariance | ( | const edm::View< reco::Jet > & | jets, |
const std::vector< edm::Handle< reco::CandidateView > > & | leptons, | ||
const edm::View< reco::Candidate > & | pfCandidates, | ||
double | rho, | ||
JME::JetResolution & | resPtObj, | ||
JME::JetResolution & | resPhiObj, | ||
JME::JetResolutionScaleFactor & | resSFObj, | ||
bool | isRealData | ||
) |
Definition at line 39 of file METSignificance.cc.
References funct::abs(), edm::View< T >::begin(), EnergyCorrector::c, edm::View< T >::end(), JME::JetResolution::getResolution(), i, metsig::jet, HLT_25ns10e33_v2_cff::leptons, gen::n, p4, HLT_25ns10e33_v2_cff::parameters, alignCSCRings::s, pileupReCalc_HLTpaths::scale, JME::JetParameters::setJetEta(), JME::JetParameters::setJetPt(), and JME::JetParameters::setRho().
Referenced by cms::PFMETProducer::getMETCovMatrix(), pat::PATMETProducer::getMETCovMatrix(), and cms::METSignificanceProducer::produce().
double METSignificance::getSignificance | ( | const reco::METCovMatrix & | cov, |
const reco::MET & | met | ||
) | const |
Definition at line 169 of file METSignificance.cc.
References reco::LeafCandidate::px(), and reco::LeafCandidate::py().
Referenced by pat::PATMETProducer::produce(), and cms::METSignificanceProducer::produce().
|
private |
Definition at line 56 of file METSignificance.h.
Referenced by METSignificance().
|
private |
Definition at line 57 of file METSignificance.h.
Referenced by METSignificance().
|
private |
Definition at line 58 of file METSignificance.h.
Referenced by METSignificance().
|
private |
Definition at line 55 of file METSignificance.h.
Referenced by METSignificance().
|
private |
Definition at line 59 of file METSignificance.h.
Referenced by METSignificance().