CMS 3D CMS Logo

PhotonXGBoostEstimator.h
Go to the documentation of this file.
1 #ifndef ReciEgamma_PhotonIdentification_PhotonXGBoostEstimator_h
2 #define ReciEgamma_PhotonIdentification_PhotonXGBoostEstimator_h
3 
6 
7 #include <memory>
8 
10 public:
11  PhotonXGBoostEstimator(const edm::FileInPath& weightsFile, int best_ntree_limit);
12 
13  float computeMva(float rawEnergyIn,
14  float r9In,
15  float sigmaIEtaIEtaIn,
16  float etaWidthIn,
17  float phiWidthIn,
18  float s4In,
19  float etaIn,
20  float hOvrEIn,
21  float ecalPFIsoIn) const;
22 
23 private:
24  std::unique_ptr<pat::XGBooster> booster_;
26 };
27 
28 #endif
std::unique_ptr< pat::XGBooster > booster_
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)