Readin in ascii files into TTree

I have a text file that I’d like to read in. Here’s how it looks like:

I am trying to read this in using:

TTree *tree=new TTree("tree","tree");

It gives the following error, apparently unable to recognize the strings:

When I check the # of entries in tree, the answer is zero. What am I doing wrong?

p.s. pardon the width of the outputs…

Strange, it works! I had almost this exact syntax in earlier implementations, and it wasn’t working. Thank you!