Re: [ROOT] Accessing TBrowser objects

From: Valeri Fine (fine@bnl.gov)
Date: Fri Sep 06 2002 - 05:55:08 MEST


Hello Maria,
Since via TBrowser you observed the instance of TDataSet class
objects I would guess the histograms you are looking for were not written
alone. They probably
are parts of some complex structure.

When you click some icon on TBrowser you cause ROOT to call TObject::Browse
method
of the class you have pointed.

To provide you an assistance one needs some knowledge how the structure you
are navigating was created.
I wonder if the best person to ask is the author of the software to create
the ROOT file you are working with.

Without any file and the code it is quite complicate to provide any usefull
advice.
Can you point me any link where I can learn how your file was created.
If you can send me your file it may help also.

            My best regards, Valeri



----- Original Message -----
From: "Maria Jesus Mora-Corral" <mora@mppmu.mpg.de>
To: <roottalk@pcroot.cern.ch>
Sent: Wednesday, September 04, 2002 8:36 AM
Subject: [ROOT] Accessing TBrowser objects


> Dear ROOTers,
>
>     I have a code which does not belong to me and that I do not really
> understand. At the end of the code I open a TBrower and inside (in the
> left window) I have a list of browsed objects. In particular, a TDataSet
>
> call "data". Clicking in this TDataSet I see that inside there is a
> TObjectSet call "object" and inside the is a TList with a list of
> histogram that I would like to have access to.
> I tried thing as
> gROOT->FindObject("data")
> or
> gSystem->FindObject("object")
> but nothing seems to work
>     May be you know how to have access to this existed histograms and
> which I am able to see with the browser.
> I think that is a easy question but ...
>
> Thank in advance,
>
> Maria
>



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:08 MET