How do I produce output distributions for signal and background events from the test sample in TMVA?

I’m trying to produce histograms of the distributions of the signal and background events from a TMVA test sample. In other words, I’m trying to produce the histograms in Figure 3 on page 16 of the TMVA user guide. The user guide isn’t clear on how it produced the histograms, and neither their TMVAGui nor my own seem to have an option to create the histograms for the test sample ( it does have an option for the training sample though). Does anyone know how to produce the histograms?


_ROOT Version: 6.20/04
_Platform: Ubuntu on Windows Subsystem for Linux
_Compiler: GCC


@moneta Is this something you could help with?

Hi,
The output file produced by TMVA contains both testTree and TrainTree. If you cannot use the GUI you can get the output variables distributions from the TTree’s, using for example TTree->Draw().

Lorenzo

This worked, thank you!