Question on TTree branches

Terrence Brannon (brannon@quake.usc.edu)
28 Jun 1997 19:22:19 -0700


The documentation for the TTree says

Various kinds of branches can be added to a tree:
A - simple structures or list of variables. (may be for C or
Fortran structures)
B - any object (inheriting from TObject). (we expect this
option be the most frequent)
C - a ClonesArray. (a specialized object for collections of
same class objects)

My question is: must object inherit from TObject? Or is it sufficient
that they be ClassDef'ed and ClassImp'ed?

If they must be derived from TObject, then I assume I am forced to use
Case A and list out every field I want as a TTree branch.

--
o============o  Sending unsolicited commercial e-mail (UCE)  to this address
 Legal Notice   is indication of your consent to pay me $120/hour for 1 hour
o============o  minimum for professional proofreading & technical assessment.
  Terrence Brannon * brannon@quake.usc.edu * http://quake.usc.edu/~brannon