#include <PhotonXGBoostEstimator.h>
Public Member Functions | |
float | computeMva (float rawEnergyIn, float r9In, float sigmaIEtaIEtaIn, float etaWidthIn, float phiWidthIn, float s4In, float etaIn, float hOvrEIn, float ecalPFIsoIn) const |
PhotonXGBoostEstimator (const edm::FileInPath &weightsFile, int best_ntree_limit) | |
~PhotonXGBoostEstimator () | |
Private Attributes | |
int | best_ntree_limit_ = -1 |
BoosterHandle | booster_ |
std::string | config_ |
Definition at line 7 of file PhotonXGBoostEstimator.h.
PhotonXGBoostEstimator::PhotonXGBoostEstimator | ( | const edm::FileInPath & | weightsFile, |
int | best_ntree_limit | ||
) |
Definition at line 4 of file PhotonXGBoostEstimator.cc.
References best_ntree_limit_, booster_, DiMuonV_cfg::config, config_, NULL, and pfClustersFromHGC3DClusters_cfi::weightsFile.
PhotonXGBoostEstimator::~PhotonXGBoostEstimator | ( | ) |
float PhotonXGBoostEstimator::computeMva | ( | float | rawEnergyIn, |
float | r9In, | ||
float | sigmaIEtaIEtaIn, | ||
float | etaWidthIn, | ||
float | phiWidthIn, | ||
float | s4In, | ||
float | etaIn, | ||
float | hOvrEIn, | ||
float | ecalPFIsoIn | ||
) | const |
Definition at line 34 of file PhotonXGBoostEstimator.cc.
References booster_, config_, PVValHelper::eta, electrons_cff::etaWidth, f, NULL, electrons_cff::phiWidth, electrons_cff::r9, electrons_cff::rawEnergy, runTheMatrix::ret, photons_cff::s4, and trigObjTnPSource_cfi::var.
|
private |
Definition at line 24 of file PhotonXGBoostEstimator.h.
Referenced by PhotonXGBoostEstimator().
|
private |
Definition at line 23 of file PhotonXGBoostEstimator.h.
Referenced by computeMva(), PhotonXGBoostEstimator(), and ~PhotonXGBoostEstimator().
|
private |
Definition at line 25 of file PhotonXGBoostEstimator.h.
Referenced by computeMva(), and PhotonXGBoostEstimator().