Re: [ROOT] Tree structure question

From: Dr. John Krane (jkrane@fnal.gov)
Date: Thu Jun 26 2003 - 21:19:07 MEST


Dear all,

I have (re-)discovered TClonesArray.  I think I can do what I want with 
those, and pointers there-to.

    - John

Dr. John Krane wrote:

> Hi,
>
> I'm trying to find make a Tree to work with average behaviors over 
> time.  I would like to have time bins of different sizes (day, 2-hour, 
> hour, 10 minute, etc.) but with the values of the smaller bins 
> associated with the appropriate larger bins.  I'd like to have for 
> instance
>
> ------------------------------------
> |  day   ( par1, par2, etc.)       |
> ------------------------------------
>    |
>    |
> ----------------------
> | hour (par1,par2,..) |
> ----------------------
>    |
>    |
> ------------------------
> | minute (par1,par2,..)|
> ------------------------
>
> The par1,par2 stuff would be exactly the same items (the same Event 
> class, filled with averages over the different size time bins).  I 
> imagined the vertical lines representing a branch with both leaves and 
> sub-branches, or perhaps three branches with links between branches, 
> but I keep chasing myself in circles.  I know what I want, but I don't 
> know how what I want fits within the root tree structure.  I do want 
> to reuse the Event class for each time bin if possible.
>
> I anybody has an idea on how to proceed please let me know.
>
>     - John
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET