I’m a ROOT beginner, and have a question which is maybe trivial.
I’m working with GRAS (Geant4 Radiation Analysis for Space) and I can have a ROOT file (.root) as output.
The thing is that I could open each file with TBrowser b, but I have 100 files for each energy of the simulation. Each file have 1 data that I want to store in a vector and later plot as function of the energies.
Could someone give me a north from where to start with ROOT to accomplish this?
from what I understand, you would like during the execution of a compiled program to open several rootfiles (O(100)) and read from each of them an object: is that accurate?
If yes, I agree: TBrowser is not the right way to go.
Why not opening the files and reading objects with the TFile interface?