Plotting bdt output over a input variable

How to place a cut on the BDT output > 0 and calculate the amount of background removed and signal removed from a specific input variable’s distribution? How to do this using TMVAAPPLICATION.C?
How to plot a variable distribution over a BDT output?

@moneta please help

What is “TMVAAPPLICATION.C” ?

I think he refers to the tutorial ROOT: tutorials/tmva/TMVAClassificationApplication.C File Reference,
correct ?
With the TMVA::Reader class you can evaluate your trained model, get the BDT output and then perform your analysis, for example counting how many events pass the criteria BDT output > 0.

Note that after the classification (shown in the tutorial TMVAClassification.C) you get an output file that you can examine with the TMVA GUI

Lorenzo

Lorenzo