long TClonesArray

From: Wouter Hulsbergen (s37@nikhef.nl)
Date: Tue Aug 25 1998 - 11:05:00 MEST


Dear all,

I created a class derived from TClonesArray, say

class B;
class A : public TClonesArray
{
 A() ;
 A(Int_t n) ;
};

A::A() : TClonesArray() ;
A::A(Int_t n) : TClonesArray("B",n) ;

I now create A object with n B's and save it into a TFile. Problems arise
when reading again the TFile: I get a segmentation fault for n big enough,
say 17 :-). For smaller n everything works just fine. What is happening ?
Is the TClonesArray::Streamer not reserving enough space ?

Regards and thanks,
Wouter



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET