Hi Reinhardt, I do not understand how you can get this message. Could you tell me which version of Root you are using? Did you build it yourself? Could you send me a file r97.root showing this problem? Rene Brun On Mon, 18 Mar 2002, Reinhardt Chamonal wrote: > Hi, > I have a problem with an warning message... > I must confess I ignored it until I needed to Write new histograms... > The message is: > > WARNING, class:TLeaf StreamerInfo read from file:r97.root > has the same version:2 than the active class > but a different checksum. > You should update the version to ClassDef(TLeaf,3). > Do not try to write objects with the current class definition, > the files will not be readable. > > How do I "update the version to ClassDef(TLeaf,3)" ? > Do I need to get rid of the streamer or something like that ? > > The r97.root has been obtained by h2root a r97.rz file > and I am calling it this way: > TFile *r97 = new TFile("r97.root") ; > > Any Idea ? > > Cheers.. > > > > > > ------------------------------------------------------------ > Reinhardt CHAMONAL The University of Edinburgh > Dept. of Physics & Astronomy > email: chamonal@ph.ed.ac.uk King's Buildings, JCMB, 5301 > Mayfield Road > phone: +44-131-650 5307 Edinburgh, EH9 3JZ > > web: http://www.ph.ed.ac.uk/~chamonal/ > http://www.reuh.fr.st > ------------------------------------------------------------ >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:46 MET