[ROOT] TTree splitting & TClonesArray

From: Carla Bleve (Carla.Bleve@le.infn.it)
Date: Tue Feb 26 2002 - 11:07:27 MET


Hi rooters,

I am storing a large amount of data into a TTree branch.
Since the detector is made up of about 10^5 'pixels'
I would like to save only the fired ones and related
 information for each event.  Furthermore  the pixels
are grouped in modules, the modules are grouped in 
supermodules etc.

I write  MyEvent class to store data, 
containing a TClonesArray of fired higest level 
components (supermodules). Each of them contains
a TClonesArray of fired subcomponents and so on..
down to the pixels.

I would like to access directly to pixel information
(for example the time)
with no need of looping over all the components
Setting split level to an high value doesn't work
Why Root doesn't split an array
of objects which in turn contain a TClones array
of subobjects?

Could someone suggest a simple way to view pixel
information directly?
Thank you!


          carla bleve



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