[ROOT] Persisting Histogram Attributes in TFiles...

From: Steve Sekula (sjsekula@students.wisc.edu)
Date: Tue May 27 2003 - 19:03:56 MEST


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



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