Object types

From: zvyagin@gams.ihep.su
Date: Thu Dec 11 1997 - 16:23:48 MET


Hi!

I want to store object of class MYCLASS in one TTree branch.
What object types my class MYCLASS can contain?

class MYCLASS : public TObject
{
  Obj1   o1;
  Obj2   o2;
  // ....
};

>From the example $ROOTSYS/test/Event.h this objects Obj1,Obj2,... are:
   Int_t,UInt_t,Float_t,....
   TClonesArray
   TH1F*

What is about TArray, TLeaf?
Is it possible to have Int_t[] (with non-constant length) in MYCLASS or I
should create TClonesArray of Int_t?

Thanks,
Alexander Zvyagin.



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