I am using the BDT framework (AdaBoost algorithm) for a BSM signal vs SM background discrimination problem. After training the BDT, I would like to get the significance at the optimal cut. By default, TMVA tries to optimize S/sqrt(S+B). I would like to include the effect of some fixed systematic uncertainty. How would I change the function that TMVA is trying to optimize?
Edit: If possible, I would appreciate a solution in Python since I am using pyTMVA for my work.
Sorry for my late reply. I guess you are referring to change the function used in the TMVAGui to draw the efficiency and significance.
Instead of using the GUI you can call directly the corresponding function, where you can change the function used too optimise.
For example for the output of TMVAClassification, you can call this function: