Multiple Signal And Background samples in TMVA

Hi Everyone,

I have 5 root files of signal and 5 root files of background process. Now I want TMVA classification but have no idea how to get started with such multiple files.
can anybody help how to deal with this?

Best Regards

Hi,

If your 5 root files contains the same TTree (same name and same branches but different entries), the easiest is to create a TChain and use the TChain as a TTree and input that to TMVA in the DataLoader::AddSignalTree and DataLoader::AddBackgroundTree.
See this simple tutorial as an example how to create a TChain.

Lorenzo