[ROOT] Schema Evoltuion problems

From: joer00@bellsouth.net
Date: Wed Jan 23 2002 - 17:35:06 MET


Hi Rooters,
finally after almost 2 days of debugging I found the problem why reading my old root files containing my custom classes do not work anymore. It was not due to new ROOT version, but due to new RQUANT version I am using. My class has a RQUANT data mebmer and this data member class was changed with new RQUANT version.

I was reading again the whole Schema evolution documentation and from my understdanding, I SHOULD be able to read old classes !

So I have the follwing questions/comments why it might not work: (Lets call my class which has not changed ClassA and this has a data member of ClassB which HAS been changed)

1.) If ClassA DID NOT change and just the data mebmber ClassB , do I still have to change ClassA Version Number in ClassDef ??

2.) I guess file reading will fail if ClassB Version Number was not changed !

3.) If (I gues this is more likely the case in my situation) ClassB has a custom streamer and manuall schema evolution was not done, reading ClassA will fail too.

Joe



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:39 MET