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:15:19 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET