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 sigmaDeltaR2;
47  double sigmaDeltaE2;
48  double threshold;
49 };
50 
51 #endif
double sigmaDeltaE2
Definition: MatchJet.h:47
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
void matchCollections(const edm::RefToBaseVector< reco::Jet > &refJets, const edm::RefToBaseVector< reco::Jet > &recJets, const reco::JetCorrector *corrector)
match the collections
Definition: MatchJet.cc:28
std::vector< int > refToRec
Definition: MatchJet.h:38
double maxChi2
Definition: MatchJet.h:45
double sigmaDeltaR2
Definition: MatchJet.h:46
edm::RefToBase< reco::Jet > operator()(const edm::RefToBase< reco::Jet > &recJet) const
Returns the matched "reference" jet.
Definition: MatchJet.cc:95
CorrectJet refJetCorrector
Definition: MatchJet.h:42
CorrectJet recJetCorrector
Definition: MatchJet.h:43
double threshold
Definition: MatchJet.h:48
MatchJet()
Definition: MatchJet.h:22