Re: [ROOT] chaining ntuples.

From: Dmitri Litvintsev (litvinse@fnal.gov)
Date: Fri Aug 03 2001 - 19:58:41 MEST


root [27] gROOT->GetVersion()
(const char* 0x1002a324)"2.26/01"


Dmitri Litvintsev

/----------------------------------------------------------\
| Tel:       (630) 840 5005                                |
| FAX:       (630) 840 2968                                |
| office:    169-E CDF Trailers                            |
| E-mail:    litvinse@fnal.gov                             |
\----------------------------------------------------------/




On Fri, 3 Aug 2001, Fons Rademakers wrote:

> 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