Question on TTree branches

From: Terrence Brannon (brannon@quake.usc.edu)
Date: Sun Jun 29 1997 - 04:22:19 MEST


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



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