[ROOT] New data member & trees

From: Ingo Froehlich (Ingo.Froehlich@exp2.physik.uni-giessen.de)
Date: Tue Aug 08 2000 - 12:59:06 MEST


Hello,

we added some data members in a class, but now we are not able to read the
old root trees. The only hint I found in the digests is to add some lines
in the streamer function like:
if (R__v > 1) { R__b >> newdata;}

But I think the streamer function is created automatically, so I have to
add it after the creation of EventDict.cpp, each? Or is it possible to do
this version management also automatically?

Thanks for your help, Ingo

--
Ingo Froehlich, II. Physikalisches Institut, Universitaet Giessen
Heinrich-Buff-Ring 16, D-35392 Giessen           |  Tel.: 0641 - 99 33250
EMail: Ingo.Froehlich@exp2.physik.uni-giessen.de |  Fax : 0641 - 99 33209
Sekretariat II. Physik: 0641 - 99 33261          |                    :-)



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET