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 
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:
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:19
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
reco::Jet
Base class for all types of Jets.
Definition: Jet.h:20
HLT_FULL_cff.leptons
leptons
Definition: HLT_FULL_cff.py:26349
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
reco::MET
Definition: MET.h:41
HLT_FULL_cff.weights
weights
Definition: HLT_FULL_cff.py:99244
JetResolution.h
metsig
Definition: SigInputObj.h:27
metsig::METSignificance
Definition: METSignificance.h:35
edm::View
Definition: CaloClusterFwd.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
deltaR.h
metsig::METSignificance::dR2match_
double dR2match_
Definition: METSignificance.h:57
metsig::METSignificance::jetThreshold_
double jetThreshold_
Definition: METSignificance.h:56
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
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