#include <MatchJet.h>
Public Member Functions | |
void | matchCollections (const edm::RefToBaseVector< reco::Jet > &refJets, const edm::RefToBaseVector< reco::Jet > &recJets, const edm::EventSetup &es) |
match the collections More... | |
MatchJet () | |
MatchJet (const edm::ParameterSet &pSet) | |
edm::RefToBase< reco::Jet > | operator() (const edm::RefToBase< reco::Jet > &recJet) const |
Returns the matched "reference" jet. More... | |
void | setThreshold (const double &energy) |
Private Attributes | |
double | maxChi2 |
CorrectJet | recJetCorrector |
edm::RefToBaseVector< reco::Jet > | recJets |
std::vector< int > | recToRef |
CorrectJet | refJetCorrector |
edm::RefToBaseVector< reco::Jet > | refJets |
std::vector< int > | refToRec |
double | sigmaDeltaE |
double | sigmaDeltaR |
double | threshold |
Match jets
Definition at line 19 of file MatchJet.h.
|
inline |
Definition at line 22 of file MatchJet.h.
MatchJet::MatchJet | ( | const edm::ParameterSet & | pSet | ) |
Definition at line 43 of file MatchJet.cc.
void MatchJet::matchCollections | ( | const edm::RefToBaseVector< reco::Jet > & | refJets, |
const edm::RefToBaseVector< reco::Jet > & | recJets, | ||
const edm::EventSetup & | es | ||
) |
match the collections
Definition at line 53 of file MatchJet.cc.
References edm::RefToBaseVector< T >::begin(), edm::RefToBaseVector< T >::clear(), edm::RefToBaseVector< T >::end(), reco::LeafCandidate::energy(), getDQMSummary::iter, metsig::jet, btag::Matching< Delta >::match(), MultipleCompare::Match(), maxChi2, edm::RefToBaseVector< T >::push_back(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), recJetCorrector, recJets, recToRef, refJetCorrector, refJets, refToRec, CorrectJet::setEventSetup(), sigmaDeltaE, sigmaDeltaR, edm::RefToBaseVector< T >::size(), and threshold.
Referenced by BTagPerformanceAnalyzerMC::getJetWithFlavour().
edm::RefToBase< reco::Jet > MatchJet::operator() | ( | const edm::RefToBase< reco::Jet > & | recJet | ) | const |
Returns the matched "reference" jet.
Definition at line 113 of file MatchJet.cc.
References i, edm::RefToBaseVector< T >::id(), edm::RefToBase< T >::id(), match(), recJets, recToRef, refJets, query::result, and edm::RefToBaseVector< T >::size().
|
inline |
Definition at line 25 of file MatchJet.h.
References relval_parameters_module::energy, and threshold.
Referenced by BTagPerformanceAnalyzerMC::BTagPerformanceAnalyzerMC().
|
private |
Definition at line 44 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 42 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 39 of file MatchJet.h.
Referenced by matchCollections(), and operator()().
|
private |
Definition at line 37 of file MatchJet.h.
Referenced by matchCollections(), and operator()().
|
private |
Definition at line 41 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 38 of file MatchJet.h.
Referenced by matchCollections(), and operator()().
|
private |
Definition at line 37 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 46 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 45 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 47 of file MatchJet.h.
Referenced by utils.StatisticalTest::get_status(), matchCollections(), and setThreshold().