These are the commands that I am using to register my signal and background trees with a TMVA factory:
TTree * bkg = (TTree*)f1->Get(“tree”);
TTree * sig = (TTree*)f2->Get(“tree”);
TFile * outputFile = new TFile(“output.root”,“NEW”);
TMVA::Factory * factory = new TMVA::Factory(“etatest1”,outputFile);
factory->AddSignalTree(sig,1.0);
However, I keep getting the error message:
error: no member named ‘AddSignalTree’ in 'TMVA::Factory’
and a similar message when I attempt to add the background tree. I am using ROOT 6.24/00 I have no idea why it is not recognizing the TMVA Factory methods and I do not know how to proceed with my analysis. Any ideas would be greatly appreciated.