CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MatchJet.h
Go to the documentation of this file.
1 #ifndef MatchJet_H
2 #define MatchJet_H
3 
4 #include <vector>
5 #include <string>
6 
12 
19 class MatchJet {
20 
21  public:
22  MatchJet() {}
23  MatchJet(const edm::ParameterSet& pSet);
24 
25  void setThreshold(const double& energy) { threshold = energy; }
26 
31  );
32 
35  operator() (const edm::RefToBase<reco::Jet> & recJet) const;
36 
37  private:
38  std::vector<int> refToRec, recToRef;
41 
44 
45  double maxChi2;
46  double sigmaDeltaR;
47  double sigmaDeltaE;
48  double threshold;
49 };
50 
51 #endif
void setThreshold(const double &energy)
Definition: MatchJet.h:25
edm::RefToBaseVector< reco::Jet > refJets
Definition: MatchJet.h:39
std::vector< int > recToRef
Definition: MatchJet.h:38
edm::RefToBaseVector< reco::Jet > recJets
Definition: MatchJet.h:40
double sigmaDeltaE
Definition: MatchJet.h:47
void matchCollections(const edm::RefToBaseVector< reco::Jet > &refJets, const edm::RefToBaseVector< reco::Jet > &recJets, const reco::JetCorrector *corrector)
match the collections
Definition: MatchJet.cc:51
double sigmaDeltaR
Definition: MatchJet.h:46
std::vector< int > refToRec
Definition: MatchJet.h:38
double maxChi2
Definition: MatchJet.h:45
tuple corrector
Definition: mvaPFMET_cff.py:86
edm::RefToBase< reco::Jet > operator()(const edm::RefToBase< reco::Jet > &recJet) const
Returns the matched &quot;reference&quot; jet.
Definition: MatchJet.cc:112
CorrectJet refJetCorrector
Definition: MatchJet.h:42
CorrectJet recJetCorrector
Definition: MatchJet.h:43
double threshold
Definition: MatchJet.h:48
MatchJet()
Definition: MatchJet.h:22