CMS 3D CMS Logo

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 public:
21  MatchJet() {}
22  MatchJet(const edm::ParameterSet& pSet);
23 
24  void setThreshold(const double& energy) { threshold = energy; }
25 
30 
33 
34 private:
35  std::vector<int> refToRec, recToRef;
38 
41 
42  double maxChi2;
43  double sigmaDeltaR2;
44  double sigmaDeltaE2;
45  double threshold;
46 };
47 
48 #endif
double sigmaDeltaE2
Definition: MatchJet.h:44
void setThreshold(const double &energy)
Definition: MatchJet.h:24
edm::RefToBaseVector< reco::Jet > refJets
Definition: MatchJet.h:36
std::vector< int > recToRef
Definition: MatchJet.h:35
edm::RefToBaseVector< reco::Jet > recJets
Definition: MatchJet.h:37
void matchCollections(const edm::RefToBaseVector< reco::Jet > &refJets, const edm::RefToBaseVector< reco::Jet > &recJets, const reco::JetCorrector *corrector)
match the collections
Definition: MatchJet.cc:26
std::vector< int > refToRec
Definition: MatchJet.h:35
double maxChi2
Definition: MatchJet.h:42
double sigmaDeltaR2
Definition: MatchJet.h:43
edm::RefToBase< reco::Jet > operator()(const edm::RefToBase< reco::Jet > &recJet) const
Returns the matched "reference" jet.
Definition: MatchJet.cc:82
CorrectJet refJetCorrector
Definition: MatchJet.h:39
CorrectJet recJetCorrector
Definition: MatchJet.h:40
double threshold
Definition: MatchJet.h:45
MatchJet()
Definition: MatchJet.h:21