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
MatchJet::sigmaDeltaE2
double sigmaDeltaE2
Definition: MatchJet.h:44
MatchJet
Definition: MatchJet.h:19
reco::JetCorrector
Definition: JetCorrector.h:35
Jet.h
MatchJet::sigmaDeltaR2
double sigmaDeltaR2
Definition: MatchJet.h:43
MatchJet::operator()
edm::RefToBase< reco::Jet > operator()(const edm::RefToBase< reco::Jet > &recJet) const
Returns the matched "reference" jet.
Definition: MatchJet.cc:82
MatchJet::refJetCorrector
CorrectJet refJetCorrector
Definition: MatchJet.h:39
MatchJet::setThreshold
void setThreshold(const double &energy)
Definition: MatchJet.h:24
CorrectJet.h
pfClustersFromHGC3DClusters_cfi.corrector
corrector
Definition: pfClustersFromHGC3DClusters_cfi.py:5
MatchJet::refToRec
std::vector< int > refToRec
Definition: MatchJet.h:35
RefToBaseVector.h
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
MatchJet::recJets
edm::RefToBaseVector< reco::Jet > recJets
Definition: MatchJet.h:37
MatchJet::recJetCorrector
CorrectJet recJetCorrector
Definition: MatchJet.h:40
edm::ParameterSet
Definition: ParameterSet.h:36
MatchJet::refJets
edm::RefToBaseVector< reco::Jet > refJets
Definition: MatchJet.h:36
CorrectJet
Definition: CorrectJet.h:16
MatchJet::maxChi2
double maxChi2
Definition: MatchJet.h:42
MatchJet::threshold
double threshold
Definition: MatchJet.h:45
MatchJet::MatchJet
MatchJet()
Definition: MatchJet.h:21
edm::RefToBaseVector< reco::Jet >
MatchJet::recToRef
std::vector< int > recToRef
Definition: MatchJet.h:35
MatchJet::matchCollections
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
EventSetup.h
edm::RefToBase< reco::Jet >
ParameterSet.h