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 
22 
27 
29 
30 #include "TF1.h"
31 
32 //____________________________________________________________________________||
33 namespace metsig {
34 
36  public:
37  METSignificance(const edm::ParameterSet& iConfig);
39 
41  const std::vector< edm::Handle<reco::CandidateView> >& leptons,
43  double rho,
44  JME::JetResolution & resPtObj,
45  JME::JetResolution & resPhiObj,
47  bool isRealData,
48  double& sumPtUnclustered);
49 
50  static double getSignificance(const reco::METCovMatrix& cov, const reco::MET& met );
51 
52  private:
53  bool cleanJet(const reco::Jet& jet,
54  const std::vector< edm::Handle<reco::CandidateView> >& leptons );
55 
56  double jetThreshold_;
57  double dR2match_;
58  std::vector<double> jetEtas_;
59  std::vector<double> jetParams_;
60  std::vector<double> pjetParams_;
62  };
63 
64 }
65 
66 //____________________________________________________________________________||
67 #endif // METAlgorithms_METSignificance_h
bool cleanJet(const reco::Jet &jet, const std::vector< edm::Handle< reco::CandidateView > > &leptons)
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:40
std::vector< double > jetEtas_
Definition: MET.h:42
vector< PseudoJet > jets
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)
std::vector< double > pjetParams_
std::vector< double > jetParams_
METSignificance(const edm::ParameterSet &iConfig)
met
===> hadronic RAZOR
sumPtUnclustered
Definition: met_cff.py:20