Dear Rene. I have tested the algorithm. It works fine. Thanks. Nikolai. On Fri, 2 Feb 2001, Rene Brun wrote: > Hi Nicholai, > > You can add new data to an existing Tree: > > - open the file in "Update" mode > - get the Tree from the file > - set the branch(es) address > - continue your fill loop > - save the new Tree header mytree->Write() > - close the file > > This works OK if you simply want to add new entries. > If you want to add one or more branches, you can proceeed like above > for the first 3 steps, then > - create your new branch > - fill ONLY this branch, making sure that you have the same number of entries > at the end in all your branches. > - write the header, etc > > Rene Brun > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET