I have root files of the following structure
TTree tempot TBranch events leaves of Type double int ...
I open a TChain and add all files to it.
No I want to access a certain event
How do I get the value of a specific leave of this event?
I tried several things one example is below:
TChain* chain = new TChain(“tempot”);
TLeaf *ct = chain->FindLeaf(“ct”);
This works if I only have one File but fails with more files. I know that SetAddress has to do with this.
Thanks a lot