10 #include <KFParticle.h>
18 TMVA::Tools::Instance();
19 TMVA::Reader *reader =
new TMVA::Reader(
"!Color:!Silent");
21 std::vector<Float_t> reader_floats;
23 for (
unsigned int i = 0; i <
nMVApars; ++i)
25 reader_floats.push_back(0);
30 return make_tuple(reader, reader_floats);
35 KFParticle kfpvertex(vertex);
36 std::map<std::string, float> possibleVariables =
38 {
"motherIPchi2", particle.GetDeviationFromVertex(kfpvertex)},
41 for (
unsigned int iPar = 0; iPar <
nMVApars; ++iPar) reader_floats[iPar] = possibleVariables.find(
m_mva_variable_list[iPar])->second;