So I opened my file using RDataFrame because I found it easier to access the data in the branches and use the data for analysis, but I want to add some branches to my dataset for which I need the tree in the dataset as a TTree object which is not stored by RDataFrame. How to go about this?
Just to give some background to my problem, I am trying to set a cut on a variable in my root file and draw the histogram for another variable. TCut method is used for TTree objects hence I want to add some new branches to my tree and then apply the cuts.
Thanks in advance for the help.