11 <<
", \"strict_shape\": false}";
33 float sigmaIEtaIEtaIn,
39 float ecalPFIsoIn)
const {
43 var[sigmaIEtaIEta] = sigmaIEtaIEtaIn;
49 var[ecalPFIso] = ecalPFIsoIn;
52 XGDMatrixCreateFromMat(
var, 1, 9, -999.9
f, &dmat);
55 const float* out_result =
NULL;
56 XGBoosterPredictFromDMatrix(
booster_, dmat,
config_.c_str(), &out_shape, &out_dim, &out_result);
57 float ret = out_result[0];
~PhotonXGBoostEstimator()
ret
prodAgent to be discontinued
float computeMva(float rawEnergyIn, float r9In, float sigmaIEtaIEtaIn, float etaWidthIn, float phiWidthIn, float s4In, float etaIn, float hOvrEIn, float ecalPFIsoIn) const
unsigned long long uint64_t
dictionary config
Read in AllInOne config in JSON format.
PhotonXGBoostEstimator(const edm::FileInPath &weightsFile, int best_ntree_limit)