src
DQMOffline
RecoB
interface
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
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
DataFormats/Common/interface/RefToBaseVector.h
"
10
#include "
DataFormats/JetReco/interface/Jet.h
"
11
#include "
DQMOffline/RecoB/interface/CorrectJet.h
"
12
19
class
MatchJet
{
20
public
:
21
MatchJet
() {}
22
MatchJet
(
const
edm::ParameterSet
& pSet);
23
24
void
setThreshold
(
const
double
&
energy
) {
threshold
=
energy
; }
25
27
void
matchCollections
(
const
edm::RefToBaseVector<reco::Jet>
&
refJets
,
28
const
edm::RefToBaseVector<reco::Jet>
&
recJets
,
29
const
reco::JetCorrector
*
corrector
);
30
32
edm::RefToBase<reco::Jet>
operator()
(
const
edm::RefToBase<reco::Jet>
& recJet)
const
;
33
34
private
:
35
std::vector<int>
refToRec
,
recToRef
;
36
edm::RefToBaseVector<reco::Jet>
refJets
;
37
edm::RefToBaseVector<reco::Jet>
recJets
;
38
39
CorrectJet
refJetCorrector
;
40
CorrectJet
recJetCorrector
;
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
l1tPFClustersFromHGC3DClusters_cfi.corrector
corrector
Definition:
l1tPFClustersFromHGC3DClusters_cfi.py:5
MatchJet::setThreshold
void setThreshold(const double &energy)
Definition:
MatchJet.h:24
EventSetup.h
MatchJet::refJets
edm::RefToBaseVector< reco::Jet > refJets
Definition:
MatchJet.h:36
MatchJet::recToRef
std::vector< int > recToRef
Definition:
MatchJet.h:35
MatchJet::recJets
edm::RefToBaseVector< reco::Jet > recJets
Definition:
MatchJet.h:37
hcalRecHitTable_cff.energy
energy
Definition:
hcalRecHitTable_cff.py:13
edm::RefToBase< reco::Jet >
CorrectJet
Definition:
CorrectJet.h:16
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
ParameterSet.h
MatchJet::refToRec
std::vector< int > refToRec
Definition:
MatchJet.h:35
MatchJet::maxChi2
double maxChi2
Definition:
MatchJet.h:42
RefToBaseVector.h
edm::RefToBaseVector< reco::Jet >
Jet.h
MatchJet::sigmaDeltaR2
double sigmaDeltaR2
Definition:
MatchJet.h:43
MatchJet
Definition:
MatchJet.h:19
MatchJet::operator()
edm::RefToBase< reco::Jet > operator()(const edm::RefToBase< reco::Jet > &recJet) const
Returns the matched "reference" jet.
Definition:
MatchJet.cc:82
reco::JetCorrector
Definition:
JetCorrector.h:33
MatchJet::refJetCorrector
CorrectJet refJetCorrector
Definition:
MatchJet.h:39
MatchJet::recJetCorrector
CorrectJet recJetCorrector
Definition:
MatchJet.h:40
CorrectJet.h
edm::ParameterSet
Definition:
ParameterSet.h:48
MatchJet::threshold
double threshold
Definition:
MatchJet.h:45
MatchJet::MatchJet
MatchJet()
Definition:
MatchJet.h:21
Generated for CMSSW Reference Manual by
1.8.14