#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) | |
Private Attributes | |
int | best_ntree_limit_ = -1 |
std::unique_ptr< pat::XGBooster > | booster_ |
Definition at line 9 of file PhotonXGBoostEstimator.h.
PhotonXGBoostEstimator::PhotonXGBoostEstimator | ( | const edm::FileInPath & | weightsFile, |
int | best_ntree_limit | ||
) |
Definition at line 3 of file PhotonXGBoostEstimator.cc.
References best_ntree_limit_, booster_, and pfClustersFromHGC3DClusters_cfi::weightsFile.
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 18 of file PhotonXGBoostEstimator.cc.
References best_ntree_limit_, and booster_.
|
private |
Definition at line 25 of file PhotonXGBoostEstimator.h.
Referenced by computeMva(), and PhotonXGBoostEstimator().
|
private |
Definition at line 24 of file PhotonXGBoostEstimator.h.
Referenced by computeMva(), and PhotonXGBoostEstimator().