Event with TClonesArray containing another TClonesArray

Dirk Meier (Dirk.Meier@cern.ch)
Fri, 20 Feb 1998 17:00:44 +0100 (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