Re: ascii files

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Tue, 28 Jun 2005 09:40:28 +0200 (MEST)


Vincent,

I do not want to be seen as a skizophenic guy refusing to include your class, but what you describe in this mail is the very basic of Trees. With TTree::Draw you can
  -do calculations with columns
  -select lines on the basis of condition related to a column (or columns)

Rene Brun

On
Tue, 28 Jun 2005, Vincent Roberfroid wrote:

> Dear Rene, thank you for the information. I have other interesting
> functionalities, like the calculation with columns,
> the selection of lines on the basis of condition related to a column,
> the removing or the addition of a column...
> in short, the functionalities present in spreadsheves (such as excel). These
> functionalities are found indeed in one or other root class
> but are not joined together, which obliges conversion regularly.
> Regards,
> Vincent
>
> Rene Brun wrote:
>
>> 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 Tue Jun 28 2005 - 09:41:00 MEST

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