[ROOT] Difference between class containing TH1F and TH1F*

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Wed Nov 14 2001 - 12:43:14 MET


Dear Rooters,

I have a class containing a histogram, TH1F. I'm using the new split
mechanism ('+') for this class and splitlevel=99. I encounterd the
following behaviour if I write this object to a file, is this correct?

If I have a pointer to a TH1F as a member:
 - In the TBrowser I can click on the variable (th epointer) an get the
histogram as an entry in the File root directory. Clicking on the
histogram displays it.

If I have a TH1F as a member:
 - I can see all the TH1F members in the TBrowser, but I'm didn't find a
solution to display the histogram

Why do this two options of storing a histogram behave different?

Regards,
Thomas.



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