Re: [ROOT] New data member & trees

From: Victor Perevoztchikov (perev@bnl.gov)
Date: Tue Aug 08 2000 - 22:57:41 MEST


  Hi Ingo,
you are talking about automatic scheama evolution of Streamer's
We in STAR, have made some ROOT I/O modifications and we have this schema evolution
working. Right now, we are testing it in RHIC data taking and production.
I hope in a month it will be tested enough, and we will propose it to
ROOT team. We have already discussed it with Rene.

Victor

Ingo Froehlich wrote:
> 
> 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          |                    :-)

-- 
Victor M. Perevoztchikov   perev@bnl.gov  perev@vxcern.cern.ch       
Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000
tel office : 631-344-7894; fax 631-344-4206; home 631-345-2690



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