Re: I/O of TClonesArray members in TTree
Rene Brun (Rene.Brun@cern.ch)
Tue, 13 Oct 1998 17:51:50 +0200
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