- I want to plot the data of 100 files on a graph.
I can put the data of 1 file on a graph.
You can read the file in a loop and create a graph with each data common from the files add them in a multigraph and draw the multigraph.
- I want to use Tree to draw this graph.Can you give me some help?
tree->Draw("y:x","","L");
I mean how do you use tree to loop through all the files .
You should make a TChain with all the files.
How to make a TChain to loop over all the files?
Can you show me some programs.
Thank you.