Re: [ROOT] Problems with the ClassVersionID

From: Pierre Da Silva (Pierre.DaSilva@lpnhep.in2p3.fr)
Date: Mon Mar 25 2002 - 11:16:14 MET


On Fri, 22 Mar 2002, Rene Brun wrote:

> Hi Pierre,
>
> Did you specify the "+" option in the pragma statement
> of your LinkDef.h file?
>
> Read the section in the Users Guide indicating the steps
> when moving from the old system to the automatic schema evolution system.
>
> Rene Brun
>
> On Fri, 22 Mar 2002, Pierre Da Silva wrote:

Hi Rene,

When I put the "+" option in the pragma statement, it doesn't work
anymore!!
But this is not my biggest problem because it is working for my new files
without any options.
Remember that I want to read my old files with the new structure. When I
put the "-" option to specify
that I want to use the streamer I wrote, it doesn't use it. In my
streamer, I have something like :

void TData::Streamer(TBuffer &R__b)
{
	...
	...
	...
	if (R__v > 12) {

		R__b >> fCalibStartSecond;
		R__b >> fCalibEndSecond;
	} else {

		fCalibStartSecond=0;
		fCalibEndSecond=0;
	}
	...
	...
	...
}

I think this is correct, but ROOT seems to use another streamer which is
not mine. Do you have any idea?


					Pierre



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