Re: [ROOT] TFolder and TTrees

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sun May 02 2004 - 07:56:38 MEST


Hi Mark,

Please send the shortest possible program (writer & reader)
reproducing the problem and indicate which version you use.

Rene Brun

On 1 May 2004, 
Mark Messier wrote:

> Hi,
> 
> I'm trying to set up an event class based on a hierarchy of TFolders
> which contain TCloneArrays where the actual data objects are stored:
> 
> /mipp
> /mipp/raw/tpc/TPCDigitsClonesArray
> /mipp/raw/rich/RICHDigitsClonesArray
> ...
> 
> The top TFolder is mapped onto a TTree to be written out. The sizes and
> contents of the ClonesArrays change from one event to the next. I'm
> having trouble with memory leaks when I read this class back in. I've
> seen references to this sort of thing in various talks but cannot find
> some example code. Does anyone have a working example they would be
> willing to share? This might make a nice tutorial...
> 
> Thanks,
> Mark
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET