Re: [ROOT] Changing branch entry content

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed May 07 2003 - 15:56:03 MEST


Hi Ludyvine,

Yes, this is possible and simple. See example in $ROOTSYS/tutorials/copytree3.C
In the loop on entries, simply recompute your new variable and fill
the clone Tree.

Rene Brun

Ludyvine Morand wrote:
> 
> Hello,
> 
> I'm working with a TTree composed of one branch of a non basic type and
> branches of type float.
> I'd like to clone this TTree and change the contents of a previously
> filled branch entry of type float.
> Is there a way to do it ?
> 
> Thanks.
> 
> Ludyvine.
> 
> --
> Ludyvine Morand
> DAPNIA/SPhN - Bat 703 Piece 156 - Orme des Merisiers
> CEA Saclay - 91191 Gif-sur-Yvette cedex - FRANCE
> Tel : (33-1)01 69 08 87 19



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