[ROOT] TH1::Clone() method gives warnings when cloning old TH1

From: Patois Yannick (patois@ganil.fr)
Date: Mon Feb 19 2001 - 11:11:15 MET


Hi,

When reading a root file created by a previous version of root (lower
than 3.00.02) with root version 3.00.05 (on linux ix86) a code like the
following generates errors:

TH1 *h1=(TH1*)gROOT->FindObject("h1");
TH1 *h2=(TH1*)h1->Clone();

Error in <TBuffer::CheckByteCount>: object of class TH1 read too many bytes
Warning in <TBuffer::CheckByteCount>: TH1::Streamer() not in sync with
data on file, fix Streamer()


	Yannick



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