i am new to root and i have a question.
i have a root file that goes and read a data file and creates 3 hfiles ang, tdcF, tdcFm .
i want to create a tree that has those 3 hfiles as branches or leaves , so i guess i need to create the tree and point the branches or lea to those hfiles but i can’t figure it out .
sampleWithRoot.cxx (4.22 KB)
I am not sure to grasp your question, in particular after having read your code. You seem to have some misconception about trees.
We show examples creating trees in the tutorials tree0,1,2,3,4.C