Event with TClonesArray containing another TClonesArray

From: Dirk Meier (Dirk.Meier@cern.ch)
Date: Fri Feb 20 1998 - 17:00:44 MET


Hi, 

I am writing events (of a class DEvent) to a TTree. 
The DEvent contains a "TClonesArray* fPlanes", 
and once created with new TClonesArray("DPlane",1).
(like described in a tutorial)
This works and I find fPlane objects in the tree.

Now, I introduce in class DPlane a "TClonesArray *fHits",
created once in the DPlane implementation
with new TClonesArray("DHits",1).

Running the programm root says
Warning in <TBranchClones::BranchClones>: Cannot process member:fHits

Is it possible to store cloned objects which contain other
cloned objects to a tree? Do you have an example?

merci
Dirk



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