CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
49  double getSignificance(const reco::METCovMatrix& cov, const reco::MET& met ) const;
50 
51  private:
52  bool cleanJet(const reco::Jet& jet,
53  const std::vector< edm::Handle<reco::CandidateView> >& leptons );
54 
55  double jetThreshold_;
56  double dR2match_;
57  std::vector<double> jetEtas_;
58  std::vector<double> jetParams_;
59  std::vector<double> pjetParams_;
60 
61  };
62 
63 }
64 
65 //____________________________________________________________________________||
66 #endif // METAlgorithms_METSignificance_h
bool cleanJet(const reco::Jet &jet, const std::vector< edm::Handle< reco::CandidateView > > &leptons)
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_
std::vector< PFCandidatePtr > pfCandidates(const PFJet &jet, int particleId, bool sort=true)
Definition: MET.h:42
vector< PseudoJet > jets
std::vector< double > pjetParams_
std::vector< double > jetParams_
METSignificance(const edm::ParameterSet &iConfig)
double getSignificance(const reco::METCovMatrix &cov, const reco::MET &met) const
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)