27#ifndef ELECTRONPHOTONSELECTORTOOLS_PHOTONSINGLEBDTCALCULATOR_H
28#define ELECTRONPHOTONSELECTORTOOLS_PHOTONSINGLEBDTCALCULATOR_H
55 StatusCode
computeScore(
const std::vector<float>& vars,
float& score)
const;
61 this,
"ModelFile",
"",
"ROOT file containing the BDT TTree"
65 this,
"BDTTreeName",
"lgbm",
"Name of the TTree containing the BDT (e.g. lgbm)"
71 std::unique_ptr<MVAUtils::BDT>
m_bdt;
Gaudi::Property< std::string > m_bdtTreeName
Gaudi::Property< std::string > m_modelFile
std::unique_ptr< TFile > m_file
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
virtual ~PhotonSingleBDTCalculator() override
StatusCode computeScore(const std::vector< float > &vars, float &score) const
Evaluate the BDT score for a photon.
std::unique_ptr< MVAUtils::BDT > m_bdt
PhotonSingleBDTCalculator(const std::string &name)