Re: ascii files

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Thu, 23 Jun 2005 16:38:49 +0200 (MEST)


Hi Vincent,

Note that most of the functionality in your class is already available via

   TGraph(const char *filename, const char *format="%lg %lg", Option_t *option="");    TNtuple::ReadFile(const char *filename, const char *branchDescriptor="")    TTree::ReadFile(const char *filename, const char *branchDescriptor="")

  see also the TGraphErrors constructors

>From the Tree/TNtuple you can select any of the columns (or expressions
of columns) and in addition have selections on the rows.

Rene Brun

On
Thu, 23 Jun 2005, Vincent Roberfroid wrote:

> Hi David,
>
> I created a class to handle simple ascii files with root.
> You can use it if you want.
> http://www.fynu.ucl.ac.be/users/v.roberfroid/work/stuffs/matrixRoot_html/matrixRoot.html
> This documentation must be updated. The code works with all version of root >
> 3.02.
> I put in attachment the code source.
> Regards,
> Vincent
>
Received on Thu Jun 23 2005 - 16:39:45 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET