Hello Art,
When you write your histogram with the overwrite option, you must do:
hist->Write(0,TObject::kOverwrite)
and not
hist->Write("",TObject::kOverwrite); //this will generate ";1"
Rene Brun
Art Poskanzer wrote:
>
> roottalk:
>
> I have several versions of some histograms in memory. How do I do
> a TFile::Write() for only the histograms with the highest cycle
> number? The option TObject::kOverwrite gives me both the version
> without a cycle number and the version with ";1".
>
> Art Poskanzer
>
> PS: Please reply to me as well as roottalk.
>
> --------------------------------------------------------------------------------
>
> Art Poskanzer <AMPoskanzer@lbl.gov>
> Lawrence Berkeley National Laboratory
>
> Art Poskanzer
> Lawrence Berkeley National Laboratory <AMPoskanzer@lbl.gov>
> HTML Mail
> Fax: 510-486-7105
> Home: 510-841-4710
> Work: 510-486-5618
> Netscape Conference Address
> Specific DLS Server
> Additional Information:
> Last Name Poskanzer
> First Name Art
> Version 2.1
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET