Hi Thomas, You have written a file with a class MMcTrig for which you have ClassDef(MMcTrig,1) When you read the file, you use a modified version of MMcTrig, but your forgot to increase the version number by 1. ROOT I/O can read your file without problem, but warns you in case you would like to write a new object of the class MMcTrig in the old file. Rene Brun Thomas Bretz wrote: > > Hi all, > > we are using root 3.01/06 currently. All the branches I'm now talking > about are written without the newly introduced auto evoilution scheme. > > We produced one file on an alpha machine. Trying to read it on the alpha > machine results in a warning like the one below and in a seg fault. > Trying to read on a linux machine worked fine without any warning. > Another file produced on another alpha (different compiler version) > worked fine on this alpha machine but with linux I got the same warning > (but without a segfault). > > Is this one of the problems which were solved in root 3.02? > > Remark: There were _no_ change in the class... > > Best regards, > Thomas. > > PS: What informations are used for the creation of this checksum? > > ---------------------------------------------------------------------- > WARNING, class:MMcTrig StreamerInfo read from file:test91cof.root > has the same version:1 than the active class > but a different checksum. > You should update the version to ClassDef(MMcTrig,2). > Do not try to write objects with the current class definition, > the files will not be readable. > ----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:08 MET