Re: Tree question

From: Rene Brun <brun_at_pcroot.cern.ch>
Date: Thu, 31 Mar 2005 12:02:20 +0200 (MEST)


Get a pointer to the branch (TBranch* branch) and call   branch->Fill();
instead of tree->Fill();

Rene Brun

On Thu, 31 Mar 2005,
Balint Radics wrote:

>
> Is it possible to Fill an existing Tree with a new
> TBranch without touching the other TBranches of the same TTree?
>
> So I would like to add a new Branch to an existing TTree, and I can do it,
> but after I Fill the Tree again with the new datas the other TTree-s will
> be with 2 times more Entries, so somehow the previously existing Branches
> will be filled with something while I Fill the new one.
>
> Cheers,
>
> Balint
>
>
Received on Thu Mar 31 2005 - 12:02:31 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET