Dirk Meier wrote: > > 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? Dirk, No, A TClonesArray in split mode can only contain objects with data members being basic data types. See URL: http://root.cern.ch/root/HowtoWriteTree.html Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET