This is an old revision of the document!
To read data from a text file into a tree all you need are the following two lines
TTree *myTree = new TTree("ntuple","data from ascii file"); Long64_t nlines = myTree->ReadFile(filename,"col1:col2:col3");