I have multiple root files “file1.root”, “file2.root”, “file3.root”, etc… all containing the same TTree (but with different contents).
If I start up root with
root -l file1.root file2.root file3.root
in fact only the last file is loaded into memory.
How do I get all three files loaded and accessible at the same time (I am guessing I have to use a Chain, but is there some easy way to do this?)
Now, only file4 is in memory. When I draw a histogram of the Tree, as contained in all 4 files, clearly, only the contents of file4 are drwan, the contents of the first 3 files are not.