Hi,
I am trying to read multiple trees into a macro with the same structure but
I want to use the two trees for different analyses is this possible or is TChain the only
option??
thanks
maki
Hi,
I am trying to read multiple trees into a macro with the same structure but
I want to use the two trees for different analyses is this possible or is TChain the only
option??
thanks
maki
Not clear what you want to do. Use TChain to process multiple files with the same tree structure.
Rene
So Ive tried to read multiple files using the following macro but it seems to be having problems reading the tree?
any suggestions
thanks
Maki
Final_Results.C (893 Bytes)
A TChain supports only ROOT files, not text files. Where is your Tree ?
Rene
Sorry the files are read in from the txt files
eg, list_null_0mp.txt, contains :
/import/reines1/maki/data/null_0mp_1.root
/import/reines1/maki/data/null_0mp_3.root
/import/reines1/maki/data/null_0mp_2.root
/import/reines1/maki/data/null_0mp_4.root
they seem to be loaded but when I try to read them it doesn’t seem to work
thanks
maki
Could you post the shortest possible RUNNING script explaining/reproducing your problem? (and also data files in a public readable site)
Rene