[Brahms-dev-l] (no subject)

From: Kris Hagel <hagel@comp.tamu.edu>
Date: Sat Mar 26 2005 - 20:02:13 EST
Hello,
I have bumped the ClassDef version of BdstMrsTrack to 5 and committed to the
repository.  

The reason for this is that I tried to read a file generated recently and
could not.  After some snooping, I discovered that several data members had
been added to BdstMrsTrack without bumping the version number. 
BAAAAAAAAAADDDDDDDDDD!!!!

Fortunately there was no harm done.  Once I bumped the number, root appears to
be able to tell the difference between the one version 4 and another version 4
as long as the version is higher than the version 4 that I didn't write.

Moral:::::!!!!!!!!!!! If you change the data structure (ie add or remove data
members) of a data class, it is imperative that the ClassDef version number be
incremented by 1.  It is not hard to do and it saves a lot of time.  To go
into slightly more detail, you need to check (as per our brat policy) that the
data class has not been modified by anyone else before committing to the
repository.

If you have any questions regarding this, please contract myself or Flemming.

>From the counting room at the Cyclotron Institute with no beam........

Regards and Happy Easter

Kris

_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Sat Mar 26 20:02:24 2005

This archive was generated by hypermail 2.1.8 : Sat Mar 26 2005 - 20:02:34 EST