Dear Root fans,
I am trying to read out the following test.txt file with data
these:are:my:branch:names
1 2 3 4 5
2 4 6 8 10
11 12 13 14 15
12 14 16 18 110
21 22 23 24 25
22 24 26 28 210
with this code:
TTree *t = new TTree()
t->ReadFile("test.txt")
t->Print()
but what I get is not a tree filled with the five branches these,are,my,branch and names each containing 6 entries, but the following error message and a tree that only contains three branches named x,y and z.
It seems like the branchdescriptor cannot be read from the file this way and the maximum number of columns (branches) is 3. The documentation clearly states, that in case there is no branchdescriptor and deliminter given as argument, it will take the first line of the file as branchdescriptors and use space as deliminter. Am I missing something?