Re: Histogram browsing

From: Krzysztof Zelazowski (Krzysztof.Zelazowski@cern.ch)
Date: Tue Aug 31 1999 - 14:16:54 MEST


Hi Fons,

Thank you very much for your suggestion. It is a beautiful browser, and it
is exactly what I needed. Currently I'm in the process of integrating this
browser with the rest of my software.

However, I still have one more question - this time about the
RootEmbeddedCavas. Namely, a user can click with the right button on any
pad and may delete it (by choosing delete from the popup menu). This is
fine if he/she deletes a sub-pad. However, when we try do delete the
TCanvas, which is it self in the RootEmbeddedCanvas, than the next time we
will want to use RootEmbeddedCanvas we will get a segmentation violation.
Nothing strange - the pointer is there, but memory already deallocated. 
My question is: Can we somehow block a TCanvas from being deleted by the
user. (perhaps some option ?)

Cheers,
Krzysztof


> Hi Krzysztof,
> 
>    a very nice histogram browser has been made by Dmitri Vassili
> <vassili@lns.infn.it>.
> A reference to his work can be found on http://root.cern.ch/root/HowtoGUI.html
> (see http://root.cern.ch/root/Hades.html). The source can be downloaded from
> ftp://pcsalo.cern.ch/pub/guidemo.tar.gz (the link to Dmitri's machine containing
> the orginal as quoted on the HowtoGUI page is not working today).
> 
> Play with it and give us feedback.
> 
> 
> Cheers, Fons.
> 
> 
> 
> 
> Krzysztof Zelazowski wrote:
> > 
> > Dear ROOTers,
> > 
> > I my monitoring program I would like to browse through a series of
> > histograms. For this I create a directory file, just as it was shown in
> > the ROOT tutorial "Creation of a hierarchy of histograms in
> > direrctories".
> > 
> > I would like to have a browser which would allow the user to select n or
> > All histograms from a specified directory and plot them in the
> > appropriate number of pads (all in one canvas).
> > 
> > My question is: Is there a ready to use browser which would provide the
> > functionality mentioned above ? I have tried using the standard
> > TBrowser, however, in using this, I can only plot one histogram per
> > canvas, even if I have previously subdivided the canvas into a number of
> > pads.
> > 
> > I would be very grateful if you could give me some hints.
> > 
> > Best regards,
> > Krzysztof
> 
> -- 
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910
> 



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