[ROOT] TFolder and TTrees

From: Mark Messier (messier@indiana.edu)
Date: Sat May 01 2004 - 23:59:11 MEST


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:


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...

Mark Messier                                 e-mail: messier@indiana.edu
Department of Physics            http://www.physics.indiana.edu/~messier
Indiana University                                 Phone: (812) 855-0236
Bloomington, IN 47405                                Fax: (812) 855-0440

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