[ROOT] TClonesArray problem with v4.00/04

From: Kate Scholberg (schol@MIT.EDU)
Date: Fri May 07 2004 - 16:32:08 MEST


Hi,

My code which worked fine with Root 3.10/02 is now broken with Root
4.00/04 (actually, yesterday's cvs version).  I am running RH7.3 and I
built Root with gcc 3.3.2 (not standard 7.3 compiler).

I've tried to boil it down to the simplest possible program that
exercises the bug:

http://cyclo.mit.edu/~schol/testroot/

It's a simple class, based on Event in $ROOTSYS/test, that has one
TClonesArray of simple Tracks.

testroot.cc creates my.root with 1 event with 2 tracks

testread.C  reads the file.

With Root 3.10/02 it all works as expected, but for Root 4.00/04 and
later in cvs, I get

root [0] .x testread.C
nevent 1
TClonesArray::Streamer expecting class
Ntrack 0

Any ideas, before I delve deeper?

Kate



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET