#include <PFMETAlgorithmMVA.h>
Public Member Functions | |
void | evaluateMVA () |
double | getCovU1 () const |
double | getCovU2 () const |
double | getDPhi () const |
reco::Candidate::LorentzVector | getMEt () const |
const reco::METCovMatrix & | getMEtCov () const |
double | getU () const |
void | initialize (const edm::EventSetup &) |
PFMETAlgorithmMVA (const edm::ParameterSet &cfg) | |
void | print (std::ostream &) const |
void | setHasPhotons (bool hasPhotons) |
void | setInput (const std::vector< reco::PUSubMETCandInfo > &, const std::vector< reco::PUSubMETCandInfo > &, const std::vector< reco::PUSubMETCandInfo > &, const std::vector< reco::Vertex::Point > &) |
~PFMETAlgorithmMVA () | |
Private Member Functions | |
void | evaluateCovU1 () |
void | evaluateCovU2 () |
void | evaluateDPhi () |
void | evaluateU () |
void | setInput (double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double) |
MVA based algorithm for computing the particle-flow missing Et
Definition at line 31 of file PFMETAlgorithmMVA.h.
PFMETAlgorithmMVA::PFMETAlgorithmMVA | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 47 of file PFMETAlgorithmMVA.cc.
References edm::ParameterSet::getParameter(), kBaseline, loadMVAfromDB_, mvaInputCovU1_, mvaInputCovU2_, mvaInputDPhi_, mvaInputU_, and mvaType_.
PFMETAlgorithmMVA::~PFMETAlgorithmMVA | ( | ) |
Definition at line 69 of file PFMETAlgorithmMVA.cc.
References loadMVAfromDB_, mvaInputCovU1_, mvaInputCovU2_, mvaInputDPhi_, mvaInputU_, mvaReaderCovU1_, mvaReaderCovU2_, mvaReaderDPhi_, and mvaReaderU_.
|
private |
Definition at line 314 of file PFMETAlgorithmMVA.cc.
References GBRForest::GetResponse(), jet1Eta_, jet1Phi_, jet1Pt_, jet2Eta_, jet2Phi_, jet2Pt_, mvaInputCovU1_, mvaOutputCovU1_, mvaOutputDPhi_, mvaOutputU_, mvaReaderCovU1_, npuPhi_, npuSumEt_, npuU_, numJets_, numJetsPtGt30_, numVertices_, pfPhi_, pfSumEt_, pfU_, pucPhi_, pucSumEt_, pucU_, puMEt_, puPhi_, puSumEt_, tkPhi_, tkSumEt_, and tkU_.
Referenced by evaluateMVA().
|
private |
Definition at line 345 of file PFMETAlgorithmMVA.cc.
References GBRForest::GetResponse(), jet1Eta_, jet1Phi_, jet1Pt_, jet2Eta_, jet2Phi_, jet2Pt_, mvaInputCovU2_, mvaOutputCovU2_, mvaOutputDPhi_, mvaOutputU_, mvaReaderCovU2_, npuPhi_, npuSumEt_, npuU_, numJets_, numJetsPtGt30_, numVertices_, pfPhi_, pfSumEt_, pfU_, pucPhi_, pucSumEt_, pucU_, puMEt_, puPhi_, puSumEt_, tkPhi_, tkSumEt_, and tkU_.
Referenced by evaluateMVA().
|
private |
Definition at line 286 of file PFMETAlgorithmMVA.cc.
References GBRForest::GetResponse(), jet1Eta_, jet1Phi_, jet1Pt_, jet2Eta_, jet2Phi_, jet2Pt_, mvaInputDPhi_, mvaOutputDPhi_, mvaReaderDPhi_, npuPhi_, npuSumEt_, npuU_, numJets_, numJetsPtGt30_, numVertices_, pfPhi_, pfU_, pucPhi_, pucSumEt_, pucU_, puMEt_, puPhi_, puSumEt_, tkPhi_, tkSumEt_, and tkU_.
Referenced by evaluateMVA().
void PFMETAlgorithmMVA::evaluateMVA | ( | ) |
Definition at line 220 of file PFMETAlgorithmMVA.cc.
References funct::cos(), evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), hasPhotons_, bookConverter::max, mvaMEt_, mvaMEtCov_, mvaOutputCovU1_, mvaOutputCovU2_, mvaOutputDPhi_, mvaOutputU_, npuU_, pfPhi_, pfU_, colinearityKinematic::Phi, Pi, funct::sin(), mathSSE::sqrt(), sumLeptonPx_, sumLeptonPy_, and tkU_.
Referenced by reco::PFMETProducerMVA::produce().
|
private |
Definition at line 256 of file PFMETAlgorithmMVA.cc.
References GBRForest::GetResponse(), jet1Eta_, jet1Phi_, jet1Pt_, jet2Eta_, jet2Phi_, jet2Pt_, mvaInputU_, mvaOutputDPhi_, mvaOutputU_, mvaReaderU_, npuPhi_, npuSumEt_, npuU_, numJets_, numJetsPtGt30_, numVertices_, pfPhi_, pfSumEt_, pfU_, pucPhi_, pucSumEt_, pucU_, puMEt_, puPhi_, puSumEt_, tkPhi_, tkSumEt_, and tkU_.
Referenced by evaluateMVA().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 50 of file PFMETAlgorithmMVA.h.
References mvaMEt_.
Referenced by reco::PFMETProducerMVA::produce().
|
inline |
Definition at line 51 of file PFMETAlgorithmMVA.h.
References mvaMEtCov_.
Referenced by reco::PFMETProducerMVA::produce().
|
inline |
void PFMETAlgorithmMVA::initialize | ( | const edm::EventSetup & | es | ) |
Definition at line 84 of file PFMETAlgorithmMVA.cc.
References cfg_, edm::ParameterSet::getParameter(), mvaPFMET_cff::loadMVAfromDB, loadMVAfromDB_, mvaNameCovU1_, mvaNameCovU2_, mvaNameDPhi_, mvaNameU_, mvaReaderCovU1_, mvaReaderCovU2_, mvaReaderDPhi_, mvaReaderU_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by reco::PFMETProducerMVA::produce().
void PFMETAlgorithmMVA::print | ( | std::ostream & | stream | ) | const |
Definition at line 375 of file PFMETAlgorithmMVA.cc.
References jet1Eta_, jet1Phi_, jet1Pt_, jet2Eta_, jet2Phi_, jet2Pt_, mvaOutputCovU1_, mvaOutputCovU2_, mvaOutputDPhi_, mvaOutputU_, npuPhi_, npuSumEt_, npuU_, numJets_, numJetsPtGt30_, numVertices_, pfPhi_, pfSumEt_, pfU_, pucPhi_, pucSumEt_, pucU_, puMEt_, puPhi_, puSumEt_, mathSSE::sqrt(), sumLeptonPx_, sumLeptonPy_, tkPhi_, tkSumEt_, and tkU_.
|
inline |
Definition at line 41 of file PFMETAlgorithmMVA.h.
References hasPhotons_.
Referenced by reco::PFMETProducerMVA::produce().
void PFMETAlgorithmMVA::setInput | ( | const std::vector< reco::PUSubMETCandInfo > & | leptons, |
const std::vector< reco::PUSubMETCandInfo > & | jets, | ||
const std::vector< reco::PUSubMETCandInfo > & | pfCandidates, | ||
const std::vector< reco::Vertex::Point > & | vertices | ||
) |
Definition at line 116 of file PFMETAlgorithmMVA.cc.
References chargedSumLeptonPx_, chargedSumLeptonPy_, MvaMEtUtilities::computeAllSums(), MvaMEtUtilities::computeRecoil(), MvaMEtUtilities::getCleanedJets(), MvaMEtUtilities::getLeptonsChSumMEX(), MvaMEtUtilities::getLeptonsChSumMEY(), MvaMEtUtilities::getLeptonsSumMEX(), MvaMEtUtilities::getLeptonsSumMEY(), MvaMEtUtilities::kChHS, MvaMEtUtilities::kHS, MvaMEtUtilities::kHSMinusNeutralPU, MvaMEtUtilities::kPF, MvaMEtUtilities::kPU, MvaMEtUtilities::leadJetP4(), CommonMETData::met, MvaMEtUtilities::numJetsAboveThreshold(), CommonMETData::phi, MvaMEtUtilities::subleadJetP4(), CommonMETData::sumet, sumLeptonPx_, sumLeptonPy_, and utils_.
Referenced by reco::PFMETProducerMVA::produce().
|
private |
|
private |
Definition at line 138 of file PFMETAlgorithmMVA.h.
Referenced by initialize().
|
private |
Definition at line 124 of file PFMETAlgorithmMVA.h.
Referenced by setInput().
|
private |
Definition at line 125 of file PFMETAlgorithmMVA.h.
Referenced by setInput().
|
private |
Definition at line 85 of file PFMETAlgorithmMVA.h.
Referenced by evaluateMVA(), and setHasPhotons().
|
private |
Definition at line 103 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 104 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 102 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 106 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 107 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 105 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 136 of file PFMETAlgorithmMVA.h.
Referenced by initialize(), PFMETAlgorithmMVA(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 114 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), PFMETAlgorithmMVA(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 115 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU2(), PFMETAlgorithmMVA(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 113 of file PFMETAlgorithmMVA.h.
Referenced by evaluateDPhi(), PFMETAlgorithmMVA(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 112 of file PFMETAlgorithmMVA.h.
Referenced by evaluateU(), PFMETAlgorithmMVA(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 127 of file PFMETAlgorithmMVA.h.
Referenced by evaluateMVA(), and getMEt().
|
private |
Definition at line 129 of file PFMETAlgorithmMVA.h.
Referenced by evaluateMVA(), and getMEtCov().
|
private |
Definition at line 81 of file PFMETAlgorithmMVA.h.
Referenced by initialize().
|
private |
Definition at line 82 of file PFMETAlgorithmMVA.h.
Referenced by initialize().
|
private |
Definition at line 80 of file PFMETAlgorithmMVA.h.
Referenced by initialize().
|
private |
Definition at line 79 of file PFMETAlgorithmMVA.h.
Referenced by initialize().
|
private |
Definition at line 119 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateMVA(), getCovU1(), and print().
|
private |
Definition at line 120 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU2(), evaluateMVA(), getCovU2(), and print().
|
private |
Definition at line 118 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateMVA(), evaluateU(), getDPhi(), and print().
|
private |
Definition at line 117 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateMVA(), evaluateU(), getU(), and print().
|
private |
Definition at line 133 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), initialize(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 134 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU2(), initialize(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 132 of file PFMETAlgorithmMVA.h.
Referenced by evaluateDPhi(), initialize(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 131 of file PFMETAlgorithmMVA.h.
Referenced by evaluateU(), initialize(), and ~PFMETAlgorithmMVA().
|
private |
Definition at line 84 of file PFMETAlgorithmMVA.h.
Referenced by PFMETAlgorithmMVA().
|
private |
Definition at line 95 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 93 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 94 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateMVA(), evaluateU(), print(), and setInput().
|
private |
Definition at line 109 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 108 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 110 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 89 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateMVA(), evaluateU(), print(), and setInput().
|
private |
Definition at line 87 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateU(), print(), and setInput().
|
private |
Definition at line 88 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateMVA(), evaluateU(), print(), and setInput().
|
private |
Definition at line 101 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 99 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 100 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 97 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 98 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 96 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 122 of file PFMETAlgorithmMVA.h.
Referenced by evaluateMVA(), print(), and setInput().
|
private |
Definition at line 123 of file PFMETAlgorithmMVA.h.
Referenced by evaluateMVA(), print(), and setInput().
|
private |
Definition at line 92 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 90 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateU(), print(), and setInput().
|
private |
Definition at line 91 of file PFMETAlgorithmMVA.h.
Referenced by evaluateCovU1(), evaluateCovU2(), evaluateDPhi(), evaluateMVA(), evaluateU(), print(), and setInput().
|
private |
Definition at line 77 of file PFMETAlgorithmMVA.h.
Referenced by setInput().