28 TMVAReader =
new TMVA::Reader(
"Color:Silent:Error");
29 TMVAReader->SetVerbose(
false);
30 TMVAReader->AddVariable(
"sip3d", &mva_sip3d);
31 TMVAReader->AddVariable(
"sip2d", &mva_sip2d);
32 TMVAReader->AddVariable(
"ptRel", &mva_ptRel);
33 TMVAReader->AddVariable(
"deltaR", &mva_deltaR);
34 TMVAReader->AddVariable(
"ratio", &mva_ratio);
35 TMVAReader->AddVariable(
"mva_e_pi", &mva_e_pi);
56 float tag = TMVAReader->EvaluateMVA(
"BDT");
double deltaR(double eta1, double eta2, double phi1, double phi2)
MvaSoftEleEstimator(std::string)
Double_t mvaValue(Float_t, Float_t, Float_t, Float_t, Float_t, Float_t)
void loadTMVAWeights(TMVA::Reader *reader, const std::string &method, const std::string &weightFile, bool verbose=false)