I did a TMVA training using CutsSA method and got the warning messages as following:
— ResultsCutsSA : You have asked for histogram MVA_EFF_BvsS which does not seem to exist in Results … better don’t use it
— ResultsCutsSA : You have asked for histogram EFF_BVSS_TR which does not seem to exist in Results … better don’t use it
I used the root version 6.06.04. Any ideas on what might be the problem?
You are using a quite old ROOT version, perhaps upgrading to a more recent one would get rid of the problem. But @moneta will be of more help here.
Thanks for your reply.
I updated my root version v6.24.02. However, I got the error messages:
error: no member named ‘AddVariable’ in ‘TMVA::Factory’
error: no matching member function for call to ‘BookMethod’
It worked in root version 6.06.04.
Should I have any updates in my TMVA training macro?
I think we need @moneta then.
When using recent versions of TMVA (since already few years) you need to use the
TMVA::DataLoader class to add variables and not anymore the Factory.
It is a very easy change in your code, see the tutorial
from line 202 until 303. (root/TMVAClassification.C at master · root-project/root · GitHub)