Save TMVA output histos as root file

Hello there,

I was wondering if there is a simple way to save some TMVA output histograms as root files for further analysis.

My particular scenario is: I have trained a BDT and I would like to save the (4a) Classifier Output Distributions available on the TMVA::TMVAGui as separate root files for signal and background, in order to evaluate the integrals and the efficiencies for different cuts with the proper expected numbers.

Welcome to the ROOT forum.

May be you can find an example answering you question in the collection of TMVA tutorials. If not I am sure @moneta can help you.