Re: [ROOT] Difference between class containing TH1F and TH1F*

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Nov 14 2001 - 15:04:03 MET


Hi Thomas,

Please read the Users Guide, page 224 where the rules for splitting are
explained.

You can prevent a data member of type object to be split by using the convention
in the comment field of the data member "||" as explained page 225.

Rene Brun



Thomas Bretz wrote:
> 
> 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