#include <PhotonXGBoostEstimator.h>
Public Member Functions | |
float | computeMva (float rawEnergyIn, float r9In, float sigmaIEtaIEtaIn, float etaWidthIn, float phiWidthIn, float e2x2In, 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 l1tPFClustersFromHGC3DClusters_cfi::weightsFile.
PhotonXGBoostEstimator::~PhotonXGBoostEstimator | ( | ) |
float PhotonXGBoostEstimator::computeMva | ( | float | rawEnergyIn, |
float | r9In, | ||
float | sigmaIEtaIEtaIn, | ||
float | etaWidthIn, | ||
float | phiWidthIn, | ||
float | e2x2In, | ||
float | etaIn, | ||
float | hOvrEIn, | ||
float | ecalPFIsoIn | ||
) | const |
Definition at line 31 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, 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().