Re: Problem with TTree::Show

From: Tatevik Poghosyan <tpoghos_at_henphyt.yerphi.am>
Date: Tue, 26 Jul 2005 18:08:01 +0500 (AMST)

  Dear Rene,  

 It works with T->Show(10),thank you.

 My example was from Users Guide 3.05.

 Tatevik

On Tue, 26 Jul 2005, Rene Brun wrote:

> Instead of
> tree->Show(10)
> do
> T->Show(10)
>
> The name of the Tree is "T" not "tree"
> or do:
> TFile f("staff.root")
> TTree *tree = (TTree*)f.Get("T");
> tree->Show(10);
>
> Rene
>
> On Tue, 26 Jul 2005, Tatevik
> Poghosyan wrote:
>
> >
> > Hi,
> >
> > I am running the following example from root users guide:
> >
> > root [0] TFile f("staff.root")
> > root [1] tree->Show(10)
> > Error: Symbol tree is not defined in current scope FILE:(tmpfile) LINE:1
> > Error: Failed to evaluate tree->Show(10)Possible candidates are...
> > filename line:size busy function type and name
> > *** Interpreter error recovered ***
> >
> > Could you help, please.
> >
> > Tatevik
> >
>
Received on Tue Jul 26 2005 - 15:21:45 MEST

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