#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::Handle< edm::View< reco::Candidate > > &pfCandidates, double rho, JME::JetResolution &resPtObj, JME::JetResolution &resPhiObj, JME::JetResolutionScaleFactor &resSFObj, bool isRealData, double &sumPtUnclustered) |
METSignificance (const edm::ParameterSet &iConfig) | |
~METSignificance () | |
Static Public Member Functions | |
static double | getSignificance (const reco::METCovMatrix &cov, const reco::MET &met) |
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_ |
bool | useDeltaRforFootprint_ |
Definition at line 35 of file METSignificance.h.
METSignificance::METSignificance | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 31 of file METSignificance.cc.
References CaloRecoTauDiscriminationAgainstMuon_cfi::dRmatch, and edm::ParameterSet::getParameter().
METSignificance::~METSignificance | ( | ) |
Definition at line 45 of file METSignificance.cc.
|
private |
Definition at line 200 of file METSignificance.cc.
References reco::deltaR2(), and AK4GenJetFlavourInfos_cfi::leptons.
reco::METCovMatrix METSignificance::getCovariance | ( | const edm::View< reco::Jet > & | jets, |
const std::vector< edm::Handle< reco::CandidateView > > & | leptons, | ||
const edm::Handle< edm::View< reco::Candidate > > & | pfCandidates, | ||
double | rho, | ||
JME::JetResolution & | resPtObj, | ||
JME::JetResolution & | resPhiObj, | ||
JME::JetResolutionScaleFactor & | resSFObj, | ||
bool | isRealData, | ||
double & | sumPtUnclustered | ||
) |
Definition at line 50 of file METSignificance.cc.
References funct::abs(), EnergyCorrector::c, reco::deltaR2(), JME::JetResolution::getResolution(), mps_fire::i, metsig::jet, METSignificanceParams_cfi::jeta, AK4GenJetFlavourInfos_cfi::leptons, gen::n, slimmedMuons_cfi::pfCandidates, edm::View< T >::ptrAt(), alignCSCRings::s, Scenarios_cff::scale, JME::JetParameters::setJetEta(), JME::JetParameters::setJetPt(), JME::JetParameters::setRho(), edm::View< T >::size(), and met_cff::sumPtUnclustered.
Referenced by cms::PFMETProducer::getMETCovMatrix(), pat::PATMETProducer::getMETCovMatrix(), and cms::METSignificanceProducer::produce().
|
static |
Definition at line 183 of file METSignificance.cc.
References reco::LeafCandidate::px(), and reco::LeafCandidate::py().
Referenced by pat::PATMETProducer::produce(), cms::METSignificanceProducer::produce(), and CorrectedPATMETProducer::produce().
|
private |
Definition at line 57 of file METSignificance.h.
|
private |
Definition at line 58 of file METSignificance.h.
|
private |
Definition at line 59 of file METSignificance.h.
|
private |
Definition at line 56 of file METSignificance.h.
|
private |
Definition at line 60 of file METSignificance.h.
|
private |
Definition at line 61 of file METSignificance.h.