Re: [ROOT] How to write lists of objects?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Nov 13 2001 - 11:53:01 MET


Hi Dan,

I have now implemented this new branch constructor in the development version
in CVS. I have slightly modified the specs compared to my original mail.
You can find the documentation with an example at:

   http://root.cern.ch/root/htmldoc/src/TTree.cxx.html#TTree:Branch

I take this opportunity to mention another constructor with a similar
functionality:

 Int_t Branch(const char *foldername, Int_t bufsize, Int_t splitlevel) 

Rene Brun

Dan Magestro wrote:
> 
> Rene,
> 
> Hi - your proposal is great, and it will hopefully enable us to replace much
> of the 'legacy code' in our data structure with one simple call to the new
> Branch method you suggested.
> 
> Thanks for your response and the great support,
> Dan
> 
> | -----Original Message-----
> | From: owner-roottalk@pcroot.cern.ch
> | [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Rene Brun
> | Sent: Monday, November 12, 2001 4:53 PM
> | To: Magestro Daniel
> | Cc: roottalk@pcroot.cern.ch
> | Subject: Re: [ROOT] How to write lists of objects?
> |
> |
> | Hi Daniel,
> |
> | On request from H1, I implemented about one year ago a special branch
> | constructor
> |   TTree::Branch(TList*list, Int_t bufsize, Int_t splitlevel)
> |
> | I could extend this function in the way shown below. Note that this
> | will also
> | require a special new function to set the corresponding branch address
> | when reading a Tree created this way.
> | Let me know what you think of this proposal
> |
> | Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:08 MET