TRootBrowser

From: Marcelo G. Munhoz (munhoz@physics.wayne.edu)
Date: Wed Sep 22 1999 - 01:20:12 MEST


    Hi,

    I'd like to create a browser where I can add only what I want to it
(TBrowser has lot of unwanted stuff). I'm trying to use TRootBrowser,
but it is not working very well. For instance, if I try to add a file to
the browser, I cannot see the histograms that I know are inside it. All
I'm doing is:

TBrowser* b;
TFile* file = new TFile("myFile.root");
TRootBrowser* b2 = new TRootBrowser(b,"test",800,600);
b2->Add(file);

I tried also,

b2->BrowseObj(file);

with no sucess...

    Clearly, I have no clue how to use this class. I'd highly apreciate
if someone could give some examples or tell me what is missing in the
lines above...

    Thanks a lot,

            Marcelo.


--
Marcelo G. Munhoz
Universidade de Sao Paulo - Brazil/
Wayne State University
phone: (313)5775419



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET