[ROOT] trouble with TTreeViewer

From: Parker Wittman (iu_pw@hotmail.com)
Date: Tue May 22 2001 - 18:16:02 MEST


Gracious Rooters,

I am a very new ROOT user working my way through a tutorial ("Getting 
Started With ROOT") and I am having huge difficulties in the section dealing 
with the TTree Viewer, for a can't seem to open it up.

In one version of the tutorial I am instructed to type in the following 
command ("h21" is my sample tree):

       tv=new TTreeViewer("h21");

Upon doing so, the following error appeared and not the TTree Viewer:

      Error: No symbol TTreeViewer in current scope  
FILE:/tmp/fileeYDORx_cint Line:1
      Error: type TTreeViewer not defined FILE:/tmp/fileeYDORx_cint LINE:1
      Warning: Automatic variable tv allocated in global scope 
FILE:/tmp/fileeYDORx_cint LINE:1
      Error: Undeclared variable tv FILE:/tmp/fileeYDORx_cint LINE:1
      *** Interpreter error recovered ***


So, I found a different version of the same tutorial which gave a different 
command for opening TTree Viewer:

      h21->StartViewer();

When I entered this I got a seg violation:

      *** Break *** segmentation violation
      Root>

I also tried opening the TTree Viewer by right clicking on the tree ("h21") 
in the object browser and selecting "StartViewer" from the menu... this also 
produced a segmentation violation.

Since I am just learning ROOT I really have no idea how to approach this 
problem... What am I doing wrong and how can I get through this?

(By the way, I am running version 3.00/06)

Regards,
Parker
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



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