#include <mvaMEtUtilities.h>
Classes | |
struct | JetInfo |
struct | leptonInfo |
struct | pfCandInfo |
Public Member Functions | |
std::vector< JetInfo > | cleanJets (const std::vector< JetInfo > &, const std::vector< leptonInfo > &, double, double) |
std::vector< pfCandInfo > | cleanPFCands (const std::vector< pfCandInfo > &, const std::vector< leptonInfo > &, double, bool) |
CommonMETData | computeJetSum_neutral (const std::vector< JetInfo > &, bool) |
CommonMETData | computeNegNoPURecoil (const CommonMETData &, const std::vector< pfCandInfo > &, const std::vector< JetInfo > &, double) |
CommonMETData | computeNegPFRecoil (const CommonMETData &, const std::vector< pfCandInfo > &, double) |
CommonMETData | computeNegPUCRecoil (const CommonMETData &, const std::vector< pfCandInfo > &, const std::vector< JetInfo > &, double) |
CommonMETData | computeNegTrackRecoil (const CommonMETData &, const std::vector< pfCandInfo > &, double) |
CommonMETData | computePFCandSum (const std::vector< pfCandInfo > &, double, int) |
CommonMETData | computePUMEt (const std::vector< pfCandInfo > &, const std::vector< JetInfo > &, double) |
CommonMETData | computeSumLeptons (const std::vector< leptonInfo > &leptons, bool iCharged) |
void | finalize (CommonMETData &metData) |
reco::Candidate::LorentzVector | leadJetP4 (const std::vector< JetInfo > &) |
mvaMEtUtilities (const edm::ParameterSet &cfg) | |
unsigned | numJetsAboveThreshold (const std::vector< JetInfo > &, double) |
bool | passesMVA (const reco::Candidate::LorentzVector &, double) |
reco::Candidate::LorentzVector | subleadJetP4 (const std::vector< JetInfo > &) |
virtual | ~mvaMEtUtilities () |
Protected Member Functions | |
reco::Candidate::LorentzVector | jetP4 (const std::vector< JetInfo > &, unsigned) |
Protected Attributes | |
double | mvaCut_ [3][4][4] |
Friends | |
bool | operator< (const JetInfo &, const JetInfo &) |
Definition at line 12 of file mvaMEtUtilities.h.
mvaMEtUtilities::mvaMEtUtilities | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 8 of file mvaMEtUtilities.cc.
References mvaCut_.
|
virtual |
Definition at line 44 of file mvaMEtUtilities.cc.
std::vector< mvaMEtUtilities::JetInfo > mvaMEtUtilities::cleanJets | ( | const std::vector< JetInfo > & | jets, |
const std::vector< leptonInfo > & | leptons, | ||
double | ptThreshold, | ||
double | dRmatch | ||
) |
Definition at line 98 of file mvaMEtUtilities.cc.
References reco::deltaR2(), and metsig::jet.
Referenced by PFMETAlgorithmMVA::setInput().
std::vector< mvaMEtUtilities::pfCandInfo > mvaMEtUtilities::cleanPFCands | ( | const std::vector< pfCandInfo > & | pfCandidates, |
const std::vector< leptonInfo > & | leptons, | ||
double | dRmatch, | ||
bool | invert | ||
) |
Definition at line 117 of file mvaMEtUtilities.cc.
References reco::deltaR2().
CommonMETData mvaMEtUtilities::computeJetSum_neutral | ( | const std::vector< JetInfo > & | jets, |
bool | mvaPassFlag | ||
) |
Definition at line 186 of file mvaMEtUtilities.cc.
References finalize(), metsig::jet, CommonMETData::mex, CommonMETData::mey, passesMVA(), and CommonMETData::sumet.
Referenced by computeNegNoPURecoil(), computeNegPUCRecoil(), and computePUMEt().
CommonMETData mvaMEtUtilities::computeNegNoPURecoil | ( | const CommonMETData & | leptons, |
const std::vector< pfCandInfo > & | pfCandidates, | ||
const std::vector< JetInfo > & | jets, | ||
double | dZcut | ||
) |
Definition at line 245 of file mvaMEtUtilities.cc.
References computeJetSum_neutral(), computePFCandSum(), finalize(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by PFMETAlgorithmMVA::setInput().
CommonMETData mvaMEtUtilities::computeNegPFRecoil | ( | const CommonMETData & | leptons, |
const std::vector< pfCandInfo > & | pfCandidates, | ||
double | dZcut | ||
) |
Definition at line 221 of file mvaMEtUtilities.cc.
References computePFCandSum(), finalize(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by PFMETAlgorithmMVA::setInput().
CommonMETData mvaMEtUtilities::computeNegPUCRecoil | ( | const CommonMETData & | leptons, |
const std::vector< pfCandInfo > & | pfCandidates, | ||
const std::vector< JetInfo > & | jets, | ||
double | dZcut | ||
) |
Definition at line 262 of file mvaMEtUtilities.cc.
References computeJetSum_neutral(), computePFCandSum(), finalize(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by PFMETAlgorithmMVA::setInput().
CommonMETData mvaMEtUtilities::computeNegTrackRecoil | ( | const CommonMETData & | leptons, |
const std::vector< pfCandInfo > & | pfCandidates, | ||
double | dZcut | ||
) |
Definition at line 233 of file mvaMEtUtilities.cc.
References computePFCandSum(), finalize(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by PFMETAlgorithmMVA::setInput().
CommonMETData mvaMEtUtilities::computePFCandSum | ( | const std::vector< pfCandInfo > & | pfCandidates, |
double | dZmax, | ||
int | dZflag | ||
) |
Definition at line 142 of file mvaMEtUtilities.cc.
References finalize(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by computeNegNoPURecoil(), computeNegPFRecoil(), computeNegPUCRecoil(), computeNegTrackRecoil(), and computePUMEt().
CommonMETData mvaMEtUtilities::computePUMEt | ( | const std::vector< pfCandInfo > & | pfCandidates, |
const std::vector< JetInfo > & | jets, | ||
double | dZcut | ||
) |
Definition at line 205 of file mvaMEtUtilities.cc.
References computeJetSum_neutral(), computePFCandSum(), finalize(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by PFMETAlgorithmMVA::setInput().
CommonMETData mvaMEtUtilities::computeSumLeptons | ( | const std::vector< leptonInfo > & | leptons, |
bool | iCharged | ||
) |
Definition at line 167 of file mvaMEtUtilities.cc.
References finalize(), CommonMETData::mex, CommonMETData::mey, and CommonMETData::sumet.
Referenced by PFMETAlgorithmMVA::setInput().
void mvaMEtUtilities::finalize | ( | CommonMETData & | metData | ) |
Definition at line 135 of file mvaMEtUtilities.cc.
References CommonMETData::met, CommonMETData::mex, CommonMETData::mey, CommonMETData::mez, CommonMETData::phi, and mathSSE::sqrt().
Referenced by computeJetSum_neutral(), computeNegNoPURecoil(), computeNegPFRecoil(), computeNegPUCRecoil(), computeNegTrackRecoil(), computePFCandSum(), computePUMEt(), and computeSumLeptons().
|
protected |
Definition at line 79 of file mvaMEtUtilities.cc.
References customizeTrackingMonitorSeedNumber::idx, fwrapper::jets, and python.multivaluedict::sort().
Referenced by leadJetP4(), and subleadJetP4().
reco::Candidate::LorentzVector mvaMEtUtilities::leadJetP4 | ( | const std::vector< JetInfo > & | jets | ) |
Definition at line 64 of file mvaMEtUtilities.cc.
References jetP4().
Referenced by PFMETAlgorithmMVA::setInput().
unsigned mvaMEtUtilities::numJetsAboveThreshold | ( | const std::vector< JetInfo > & | jets, |
double | ptThreshold | ||
) |
Definition at line 89 of file mvaMEtUtilities.cc.
References metsig::jet.
Referenced by PFMETAlgorithmMVA::setInput().
bool mvaMEtUtilities::passesMVA | ( | const reco::Candidate::LorentzVector & | jetP4, |
double | mvaJetId | ||
) |
Definition at line 49 of file mvaMEtUtilities.cc.
References funct::abs(), and mvaCut_.
Referenced by computeJetSum_neutral().
reco::Candidate::LorentzVector mvaMEtUtilities::subleadJetP4 | ( | const std::vector< JetInfo > & | jets | ) |
Definition at line 69 of file mvaMEtUtilities.cc.
References jetP4().
Referenced by PFMETAlgorithmMVA::setInput().
Definition at line 74 of file mvaMEtUtilities.cc.
|
protected |
Definition at line 84 of file mvaMEtUtilities.h.
Referenced by mvaMEtUtilities(), and passesMVA().