Re: tuple creation

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Thu, 19 May 2005 13:06:36 +0200 (MEST)


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
> ...........................................................................
>
>
Received on Thu May 19 2005 - 13:06:40 MEST

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