Hello Dr @moneta ,
I use TMVA to fit input data as tree.root.the tree is Delphes .But according to the defined
Branches and varaibles within headerfile (tree=Delphes) ,not all branches are exist .Another meaning if i want to add a new branch such that the invariant mass that not exist in header file .Is i create a new tree to clone the old tree and modify it to add a new brach ? .This is my suggested idea or is there another way?.Could you clarify this issue with an attached example?
Thanks
Ahmed
treeAnalysis.C (9.6 KB)
treeAnalysis.h (83.0 KB)
SetupTMVA.C (5.6 KB)