#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 | 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 reco::JetCorrector * | corrector | ||
) |
match the collections
Definition at line 51 of file MatchJet.cc.
References edm::RefToBaseVector< T >::begin(), EnergyCorrector::c, edm::RefToBaseVector< T >::clear(), edm::RefToBaseVector< T >::end(), reco::LeafCandidate::energy(), metsig::jet, btag::Matching< Delta >::match(), MultipleCompare::Match(), patRefSel_triggerMatching_cfi::matches, PFTauMatching_cfi::matching, maxChi2, edm::RefToBaseVector< T >::push_back(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), recJetCorrector, recJets, recToRef, refJetCorrector, refJets, refToRec, CorrectJet::setCorrector(), sigmaDeltaE, sigmaDeltaR, edm::RefToBaseVector< T >::size(), and threshold.
Referenced by BTagPerformanceAnalyzerMC::getJetWithFlavour(), and setThreshold().
edm::RefToBase< reco::Jet > MatchJet::operator() | ( | const edm::RefToBase< reco::Jet > & | recJet | ) | const |
Returns the matched "reference" jet.
Definition at line 112 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().
Referenced by setThreshold().
|
inline |
Definition at line 25 of file MatchJet.h.
References mitigatedMETSequence_cff::corrector, matchCollections(), operator()(), recJets, refJets, and threshold.
Referenced by BTagPerformanceAnalyzerMC::BTagPerformanceAnalyzerMC().
|
private |
Definition at line 45 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 43 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 40 of file MatchJet.h.
Referenced by matchCollections(), operator()(), and setThreshold().
|
private |
Definition at line 38 of file MatchJet.h.
Referenced by matchCollections(), and operator()().
|
private |
Definition at line 42 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 39 of file MatchJet.h.
Referenced by matchCollections(), operator()(), and setThreshold().
|
private |
Definition at line 38 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 47 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 46 of file MatchJet.h.
Referenced by matchCollections().
|
private |
Definition at line 48 of file MatchJet.h.
Referenced by utils.StatisticalTest::get_status(), matchCollections(), and setThreshold().