Hi Pilippe,
>> What I need is to copy branch1.leaf1 from Tree2 to Tree1.
>
> Why? What you goal/aim?
I have a large analysis NTuple out of which I create a light-weight one which stored eg parameter flagging good events. What I need is to be able to use this flag to look into parameters stored in the original ntuple.
> > To associate 2 TTree with related information, we recommend using the TTree Friend concept. > > I.e. the simple way to achieve some similar to what you want is: > > Tree1->AddFriend(Tree2);
This is exactly what I needed.
Thanks,
Hovhannes
> > Cheers, > Philippe. > > On 2/15/11 9:23 AM, Hovhannes Khandanyan wrote:
This archive was generated by hypermail 2.2.0 : Fri Feb 18 2011 - 17:50:01 CET