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  edm::ValueMap<float> const* weights = nullptr);
50 
51  static double getSignificance(const reco::METCovMatrix& cov, const reco::MET& met);
52 
53  private:
54  bool cleanJet(const reco::Jet& jet, 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_;
61  };
62 
63 } // namespace metsig
64 
65 //____________________________________________________________________________||
66 #endif // METAlgorithms_METSignificance_h
met_cff.sumPtUnclustered
sumPtUnclustered
Definition: met_cff.py:20
JME::JetResolution
Definition: JetResolution.h:17
metsig::METSignificance::jetEtas_
std::vector< double > jetEtas_
Definition: METSignificance.h:58
zmumugammaAnalyzer_cfi.pfCandidates
pfCandidates
Definition: zmumugammaAnalyzer_cfi.py:11
HLT_2018_cff.weights
weights
Definition: HLT_2018_cff.py:87167
reco::Jet
Base class for all types of Jets.
Definition: Jet.h:20
Jet.h
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
edm::Handle
Definition: AssociativeIterator.h:50
JetResolution.h
BTaggingMonitor_cfi.met
met
Definition: BTaggingMonitor_cfi.py:84
metsig::METSignificance::pjetParams_
std::vector< double > pjetParams_
Definition: METSignificance.h:60
deltaR.h
reco::MET
Definition: MET.h:41
JetResolution.h
metsig
Definition: SigInputObj.h:27
metsig::METSignificance
Definition: METSignificance.h:35
edm::View
Definition: CaloClusterFwd.h:14
edm::ParameterSet
Definition: ParameterSet.h:36
HLT_2018_cff.leptons
leptons
Definition: HLT_2018_cff.py:24820
metsig::METSignificance::dR2match_
double dR2match_
Definition: METSignificance.h:57
metsig::METSignificance::jetThreshold_
double jetThreshold_
Definition: METSignificance.h:56
JME::JetResolutionScaleFactor
Definition: JetResolution.h:40
metsig::METSignificance::METSignificance
METSignificance(const edm::ParameterSet &iConfig)
Definition: METSignificance.cc:32
MET.h
metsig::METSignificance::jetParams_
std::vector< double > jetParams_
Definition: METSignificance.h:59
metsig::jet
Definition: SignAlgoResolutions.h:47
edm::ValueMap< float >
metsig::METSignificance::getCovariance
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)
Definition: METSignificance.cc:46
metsig::METSignificance::getSignificance
static double getSignificance(const reco::METCovMatrix &cov, const reco::MET &met)
Definition: METSignificance.cc:181
Candidate.h
ParameterSet.h
metsig::METSignificance::~METSignificance
~METSignificance()
Definition: METSignificance.cc:44
metsig::METSignificance::cleanJet
bool cleanJet(const reco::Jet &jet, const std::vector< edm::Handle< reco::CandidateView > > &leptons)
Definition: METSignificance.cc:196
reco::METCovMatrix
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:39