[ROOT] problem with TTreeViewer

From: Stève Udriot (Steve.Udriot@cern.ch)
Date: Sat Mar 10 2001 - 15:11:03 MET


Hello

I get a seg fault when I want to open a file IN the TreeViewer. There is 
what is written in the prompt.

root [0] gSystem->Load("libTreeViewer")
(int)0
root [1] new TTreeViewer

root [2] TFile *treeFile = new 
TFile("/scratch/s/sudriot/Negotium/Projects/Xtal++_Project/SortedTree/test/ly_full.root");
treeFile->ls();
TFile** 
/scratch/s/sudriot/Negotium/Projects/Xtal++_Project/SortedTree/test/ly_full.root
  TFile* 
/scratch/s/sudriot/Negotium/Projects/Xtal++_Project/SortedTree/test/ly_full.root
   KEY: TTree    LYT__Position;1 Raw Tree
   KEY: TTree    LYT__LightYield;1       Raw Tree
   KEY: TTree    LYBU__LightYieldAt8X0;1 Raw Tree
   KEY: TTree    LYBU__FNUF;1    Raw Tree
   KEY: TTree    LYBU__RNUF;1    Raw Tree
   KEY: TTree    LYBU__LYat100_LYat1000;1        Raw Tree
   KEY: TTree    LightYieldTable;1       Sorted Tree from Oql
   KEY: TTree    LightYieldBeforeUniformization;1        Sorted Tree 
from Oql
Use SetTreeName() from context menu and supply a tree name
The context menu is activated by right-clicking the panel from right

  *** Break *** segmentation violation
Root >

whereas the commands execute well separately... Why ? I have just done a 
cvs update and recompiled everything.

Thanks,

	Steve



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