Re: [ROOT] chaining ntuples.

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Aug 03 2001 - 19:26:09 MEST


Which version of ROOT !

-- Fons


On Fri, Aug 03, 2001 at 12:22:13PM -0500, Dmitri Litvintsev wrote:
> 
> 
> Hi ROOTers,
> 
> According to examples I do the folloging:
> 
> root [0] TChain chain("di-muon ntuple");
> root [1] chain.Add("CA3871_jpsi.root");
> 
> I get this:
> 
> Error in <TChain::Add>: cannot find tree with name di-muon ntuple
> 
> 
> although I am pretty sure that this ntuple exists in the file.
> 
> if I use TBrowser to open file I am able to get to that ntuple and
> look into contents.
> 
> 
> What am I doing wrong?
> 
> 
> 
> Dmitri Litvintsev
> 
> /----------------------------------------------------------\
> | Tel:       (630) 840 5005                                |
> | FAX:       (630) 840 2968                                |
> | office:    169-E CDF Trailers                            |
> | E-mail:    litvinse@fnal.gov                             |
> \----------------------------------------------------------/
> 
> 
> 

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



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