test
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 
25 
27 
28 #include "TF1.h"
29 
30 //____________________________________________________________________________||
31 namespace metsig {
32 
34  public:
35  METSignificance(const edm::ParameterSet& iConfig);
37 
39  const std::vector< edm::Handle<reco::CandidateView> >& leptons,
41  double getSignificance(const reco::METCovMatrix& cov, const reco::MET& met ) const;
42 
43  private:
44  bool cleanJet(const reco::Jet& jet,
45  const std::vector< edm::Handle<reco::CandidateView> >& leptons );
46 
47  double jetThreshold_;
48  double dR2match_;
49  std::vector<double> jetEtas_;
50  std::vector<double> jetParams_;
51  std::vector<double> pjetParams_;
52 
55 
56  };
57 
58 }
59 
60 //____________________________________________________________________________||
61 #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_
JetResolution * phiRes_
std::vector< double > jetParams_
METSignificance(const edm::ParameterSet &iConfig)
reco::METCovMatrix getCovariance(const edm::View< reco::Jet > &jets, const std::vector< edm::Handle< reco::CandidateView > > &leptons, const edm::View< reco::Candidate > &pfCandidates)
JetResolution * ptRes_
double getSignificance(const reco::METCovMatrix &cov, const reco::MET &met) const