Fixed Size Array of (TClonesArray *) in a TTree

Olivier Dormond (Olivier.Dormond@iphe.unil.ch)
Mon, 29 Mar 1999 15:33:59 +0000


Hi Rooters,

How can I manage to have a fixed size Array of (TClonesArray *) in a
TTree being written correctly to disk ? It is able to write up to ~50
events containing 2 (TClonesArray *)[7] and than it does a segfault.
If I stop at, say, 20 events it writes the file out to disk but than
accessing the TTree within root produces an

"Error in <TList::AddLast>: argument is a null pointer"

and than segfaulting.

Cheers,

Odie

P.S. I DON'T want to have 14 ugly (TClonesArray *) instead of my to
arrays!

-- 
+----------------------------------------------------------------------+
| Olivier Dormond                 EMail : Olivier.Dormond@iphe.unil.ch |
| IPHE - BSP - UNIL               WWW   : iphedec2.unil.ch/~odie       |
| CH-1015 Dorigny                 Phone : (++41 21) 692 3739           |
| Switzerland                     Fax   : (++41 21) 692 3605           |
+----------------------------------------------------------------------+