#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) |
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_ |
Definition at line 35 of file METSignificance.h.
METSignificance::METSignificance | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 21 of file METSignificance.cc.
References dR2match_, CaloRecoTauDiscriminationAgainstMuon_cfi::dRmatch, edm::ParameterSet::getParameter(), jetEtas_, jetParams_, jetThreshold_, and pjetParams_.
METSignificance::~METSignificance | ( | ) |
Definition at line 35 of file METSignificance.cc.
|
private |
Definition at line 192 of file METSignificance.cc.
References reco::deltaR2(), dR2match_, and AK4PFJetsMCFlavourInfos_cfi::leptons.
Referenced by getCovariance().
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 | ||
) |
Definition at line 40 of file METSignificance.cc.
References funct::abs(), edm::View< T >::begin(), EnergyCorrector::c, cleanJet(), edm::View< T >::end(), JME::JetResolution::getResolution(), mps_fire::i, metsig::jet, METSignificanceParams_cfi::jeta, jetEtas_, jetParams_, jetThreshold_, AK4PFJetsMCFlavourInfos_cfi::leptons, gen::n, metProducer_cfi::parameters, slimmedMuons_cfi::pfCandidates, pjetParams_, edm::View< T >::ptrAt(), alignCSCRings::s, Scenarios_cff::scale, JME::JetParameters::setJetEta(), JME::JetParameters::setJetPt(), JME::JetParameters::setRho(), edm::View< T >::size(), and TtFullHadEvtBuilder_cfi::sumPt.
Referenced by cms::PFMETProducer::getMETCovMatrix(), pat::PATMETProducer::getMETCovMatrix(), and cms::METSignificanceProducer::produce().
|
static |
Definition at line 175 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 56 of file METSignificance.h.
Referenced by cleanJet(), and METSignificance().
|
private |
Definition at line 57 of file METSignificance.h.
Referenced by getCovariance(), and METSignificance().
|
private |
Definition at line 58 of file METSignificance.h.
Referenced by getCovariance(), and METSignificance().
|
private |
Definition at line 55 of file METSignificance.h.
Referenced by getCovariance(), and METSignificance().
|
private |
Definition at line 59 of file METSignificance.h.
Referenced by getCovariance(), and METSignificance().