Re: [ROOT] N-tuples

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Feb 12 2001 - 15:52:03 MET


Ilia,
There is no limitation on the number of variables in a TNtuple.
Usually, one fills a TNtuple via
 ntuple->Fill(x0,x1,x2,x3,x4,...)
if you have more than 15 variables, use the other form
 ntuple->Fill(Float_t *x)

TNtuple is a convenient class for simple cases with variables of type float.
If you have more complex cases, use TTree. See Users Guide.

Rene Brun

Ilia Ravinovich wrote:
> 
> Hi,
> 
> Is there a way to increase number of variables in the N-tuple (as I
> ubderstand the maximum now is 11)?
> 
> Thanks,
> 
> Ilia
> 
> ************************************************************************
> *                                                                      *
> *   Ilia Ravinovich                                                    *
> *   Department of Particle Physics             PPE Division            *
> *   Weizmann Institute of Science              Bld 892, 1D-015         *
> *   Rehovot 76100                              CERN, 1211 Geneva       *
> *   ISRAEL                                     Switzerland             *
> *                                                                      *
> *   PHONE : 972 8 9343187                      41 22 7676437           *
> *   FAX   : 972 8 9466253                      41 22 7677910           *
> *   E-mail: Ilia.Ravinovich@weizmann.ac.il     Ilia.Ravinovich@cern.ch *
> *                                                                      *
> ************************************************************************



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:36 MET