Re: Crash in TBrowser when inspecting converted HBOOK ntuple

Valery Fine (fine@mail.cern.ch)
Fri, 10 Oct 1997 20:32:45 +0100


On 10 Oct 97 at 9:48, Gordon Watts (Brown Universit wrote:

> 1) Given an ntuple file written in HBOOK, create a root file with
> the h2root program.
> 2) TFile f ("filename.root");
> 3) TBrowser b;

There are some problems with Windows since Windows needs ROOT as
multithread application. Under UNIX it is a single thread so far. As
workaround try as follows:

TFile f ("filename.root");
TCanvas c1("c1");
TBrowser b;

I.e. one TCanvas object must be opened to proceed with TBrowser.

> Also, just click around for a while, in the left and right panels,
> and try to navagate in a file that has both histograms and ntuples.
> I fine the behavior quite inconsistant... :-)

What did you mean, please let us an example?

Tell me whether it helps you.
Valery
Dr. Valeri Faine (Valery Fine)
------------ ------------- Phone: +41 22 767 4921
CERN FAX : +41 22 767 7155
CH-1211 Geneva, 23 mailto:fine@mail.cern.ch
Switzerland http://nicewww.cern.ch/~fine