[ROOT] Help creating TTree with variable size leafs

From: Charles Leggett (CGLeggett@lbl.gov)
Date: Thu Sep 21 2000 - 21:01:49 MEST


I'm trying to create a TTree with variable size leafs, similar to a
column-wise ntuple with a variable size array (eg, two ntuple variables,
NTrak(1,10) and Px[NTrak]), but the method that is used in h2root 
(ie using a contiguous chunk of memory for all variables) would be very 
difficult to implement. Is there a generic way to do so?


			cheers...	Charles.

-- 
+---------------------------------------------------------------------+
| Charles Leggett                |        <CGLeggett@lbl.gov>         |
| Lawrence Berkeley National Lab |      HCG / NERSC : Atlas / D0      |
| 1 Cyclotron Road, MS 50B-3238  |                                    |
| Berkeley, CA 94720             | Eagles may soar, but weasels don't |
| (510) 495-2930  room: 50B-3201 |    get sucked into jet engines.    |
+------------------- http://annwm.lbl.gov/~leggett -------------------+



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:33 MET