CMS 3D CMS Logo

METSignificance.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: METAlgorithms
4 // Class: METSignificance
5 //
11 //
12 // Original Author: Nathan Mirman (Cornell University)
13 // Created: Thu May 30 16:39:52 CDT 2013
14 //
15 //
16 #ifndef METAlgorithms_METSignificance_h
17 #define METAlgorithms_METSignificance_h
18 //____________________________________________________________________________||
20 
25 
27 
28 #include "TF1.h"
29 
30 //____________________________________________________________________________||
31 namespace metsig {
32 
34  public:
35  METSignificance(const edm::ParameterSet& iConfig);
37 
41  double rho,
42  JME::JetResolution& resPtObj,
43  JME::JetResolution& resPhiObj,
45  bool isRealData,
46  double& sumPtUnclustered,
47  edm::ValueMap<float> const* weights = nullptr);
48 
49  static double getSignificance(const reco::METCovMatrix& cov, const reco::MET& met);
50 
51  private:
53 
54  double jetThreshold_;
55  double dR2match_;
56  std::vector<double> jetEtas_;
57  std::vector<double> jetParams_;
58  std::vector<double> pjetParams_;
59  };
60 
61 } // namespace metsig
62 
63 //____________________________________________________________________________||
64 #endif // METAlgorithms_METSignificance_h
bool cleanJet(const reco::Jet &jet, const std::vector< edm::Handle< reco::CandidateView > > &leptons)
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, edm::ValueMap< float > const *weights=nullptr)
static double getSignificance(const reco::METCovMatrix &cov, const reco::MET &met)
Base class for all types of Jets.
Definition: Jet.h:20
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:39
std::vector< double > jetEtas_
Definition: MET.h:41
std::vector< double > pjetParams_
std::vector< double > jetParams_
METSignificance(const edm::ParameterSet &iConfig)
sumPtUnclustered
Definition: met_cff.py:22