Re: tuple creation

From: Jean-Eric Campagne <campagne_at_lal.in2p3.fr>
Date: Thu, 19 May 2005 13:17:09 +0200


Ah! fine... Thanks a lot Rene.
Best
Jean-Eric

--On jeudi 19 mai 2005 13:06 +0200 Rene Brun <brun_at_pcroot.cern.ch> wrote:

> Hi Jean-Eric,
>
> Yes, see
> http://root.cern.ch/root/htmldoc/TTree.html#TTree:ReadFile
> or
> http://root.cern.ch/root/htmldoc/TNtuple.html#TNtuple:ReadFile
>
> ex
>
> TTree T("spline","test");
> T.ReadFile("sploptiplus130.dat","sene/F:snue:snumu:snutau:sanue:sanumu:
> sanutau");
> T.Draw("snumu");
>
> Rene Brun
>
> On Thu, 19 May 2005, Jean-Eric Campagne wrote:
>
>> Dear developpers,
>>
>> Is there a way to create a smple TTree as I was to do with the following
>> old PAW commands:
>> n/creat 2 'spline' 7 ! ! sene snue snumu snutau sanue sanumu sanutau
>> n/read 2 sploptiplus130.dat
>>
>> Cheers
>> J.E
>>
>> ........................................................................
>> ... .LAL - IN2P3 - CNRS
>> .LAL - B.P 34 - 91898 Orsay Cedex - France
>> .Piece 108
>> .Tel +33 (0)1 64 46 84 29
>> .Fax +33 (0)1 64 46 83 97
>> ........................................................................
>> ...
>>
>>

...........................................................................
.LAL - IN2P3 - CNRS
.LAL - B.P 34 - 91898 Orsay Cedex - France
.Piece 108
.Tel +33 (0)1 64 46 84 29

.Fax +33 (0)1 64 46 83 97
...........................................................................
Received on Thu May 19 2005 - 13:17:15 MEST

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