Re: [ROOT] readout from ntuple

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed May 15 2002 - 23:25:57 MEST


Hi Jayoung,

See examples at $ROOTSYS/tutorials/tree1.C, tree2.C, etc

You can also do:
  pos->Scan("evt:x:y","x==y");

Rene Brun

On Wed, 15 May 2002, Jayoung Wu wrote:

> HI all.
> 
> I have created a ntuple,
>   TNtuple *pos = new TNtuple("pos","Position","evt:x:y")
> It's filled by my code.
> 
> Is there any way I can extract the value?
> For example, 
> I want get and save the values of evt, x, and y when x==y.
> 
> 
> ---
> Thanks,
> Jayoung
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:53 MET