Re: [ROOT] Persisting Histogram Attributes in TFiles...

From: Frankland John (frankland@ganil.fr)
Date: Tue May 27 2003 - 23:25:32 MEST


Hi Steve

Could you send an example of your code please ?

Thanks,
John

Steve Sekula wrote:

>Hi Folks,
>
>I have a question about persisting histogram attributes when writing
>them out to TFiles. I'm trying to create a large number of
>distributions and save them to disk for later examination. Several
>species are written to each histogram, and each species is
>color-coded.
>
>
>When I persist the histogram to disk (TH1F::Write()) and then open the
>TFile, I find that all the color-coding (shading, line attributes,
>etc.) is lost. How does one persist the attribute information along
>with the histogram itself to a TFile?
>
>Cheers,
>Steve Sekula
>
>
>
>  
>

-- 
John D. Frankland
Beam Coordinator
GANIL
B.P. 55027
14076 CAEN Cedex 05

tel: +33 (0)231454628
fax: +33 (0)231454665



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET