User Tools

Site Tools


root:loadtext

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
root:loadtext [2010/11/10 12:17] nchiaproot:loadtext [2010/11/10 12:17] nchiap
Line 15: Line 15:
  
 To use this tree you then need to get the branch names To use this tree you then need to get the branch names
-<code c++>+<code C++>
   TTree *myTree = new TTree("mytree","data from ascii file");   TTree *myTree = new TTree("mytree","data from ascii file");
   Long64_t nlines = myTree->ReadFile(filename);   Long64_t nlines = myTree->ReadFile(filename);
root/loadtext.txt · Last modified: 2010/11/15 17:17 by nchiap