[ROOT] A simple question about TClonesArray

From: GENTIT Francois-Xavier DAPNIA (GENTIT@dapnia.cea.fr)
Date: Tue Mar 05 2002 - 14:16:07 MET


  Hello rooters,
  I find the ROOT documentation about TClonesArray confusing. By "identical
objects", do we have to understand:

  - that the objects are of the same class  or
  - that the objects must have the same length
  - or both ?

  For instance, can we put objects of the same class, like TObString, into a
TClonesArray, although they are not of the same length?
  Or can we put object of 2 differents classes, but having the same length,
into a TClonesArray ?
  Thanks for answer

          F.X. Gentit
          DAPNIA/SPP CEN Saclay
          tel : 01 69 08 30 38     fax : 01 69 08 64 28
          web : http://home.cern.ch/~gentit/



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET