Re: I/O of TClonesArray members in TTree

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 13 1998 - 17:51:50 MEST


Mark Boulay wrote:
> 
> Dear Root team:
>         I want to accomplish the following, and am not sure what
> the best (if any) method is for doing it.  I have a TTree which
> contains a TClonesArray branch.  When reading the tree, I would
> like to test each object in  the TClonesArray, and only use it
> if it passes some test based on a flag I have set.  I am currently
> writing the TTree with splitlevel = 1, which contains an event-level
> branch, which in turn contains the TClonesArray.
> 

Mark,
Please, be more specific with your question. What do you mean by
"testing each object"? What is the difference between testing
and using.
See examples of a TTree in $ROOTSYS/test/Event and associated
macros eventa and eventb.

Rene Brun



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