#include <MatchJet.h>
Public Member Functions | |
void | matchCollections (const edm::RefToBaseVector< reco::Jet > &refJets, const edm::RefToBaseVector< reco::Jet > &recJets, const reco::JetCorrector *corrector) |
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 | sigmaDeltaE2 |
double | sigmaDeltaR2 |
double | threshold |
Match jets
Definition at line 19 of file MatchJet.h.
|
inline |
Definition at line 21 of file MatchJet.h.
MatchJet::MatchJet | ( | const edm::ParameterSet & | pSet | ) |
Definition at line 20 of file MatchJet.cc.
void MatchJet::matchCollections | ( | const edm::RefToBaseVector< reco::Jet > & | refJets, |
const edm::RefToBaseVector< reco::Jet > & | recJets, | ||
const reco::JetCorrector * | corrector | ||
) |
match the collections
Definition at line 26 of file MatchJet.cc.
References edm::RefToBaseVector< T >::begin(), HltBtagPostValidation_cff::c, edm::RefToBaseVector< T >::clear(), pfClustersFromHGC3DClusters_cfi::corrector, edm::RefToBaseVector< T >::end(), metsig::jet, MultipleCompare::Match(), oniaPATMuonsWithTrigger_cff::matches, TtSemiLepJetCombMVATrainer_cfi::matching, maxChi2, edm::RefToBaseVector< T >::push_back(), recJetCorrector, recJets, recToRef, refJetCorrector, refJets, refToRec, CorrectJet::setCorrector(), sigmaDeltaE2, sigmaDeltaR2, edm::RefToBaseVector< T >::size(), funct::sqr(), threshold, and x.
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 82 of file MatchJet.cc.
References mps_fire::i, edm::RefToBaseVector< T >::id(), edm::RefToBase< T >::id(), match(), recJets, recToRef, refJets, mps_fire::result, and edm::RefToBaseVector< T >::size().
|
inline |
Definition at line 24 of file MatchJet.h.
References HCALHighEnergyHPDFilter_cfi::energy, and threshold.
Referenced by BTagPerformanceAnalyzerMC::BTagPerformanceAnalyzerMC().
|
private |
Definition at line 42 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 40 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 37 of file MatchJet.h.
Referenced by matchCollections(), and operator()().
|
private |
Definition at line 35 of file MatchJet.h.
Referenced by matchCollections(), and operator()().
|
private |
Definition at line 39 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 36 of file MatchJet.h.
Referenced by matchCollections(), and operator()().
|
private |
Definition at line 35 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 44 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 43 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 45 of file MatchJet.h.
Referenced by utils.StatisticalTest::get_status(), matchCollections(), and setThreshold().