Re: Friend trees of "filtered Trees"

From: Salvatore Rappoccio <rappocc_at_fnal.gov>
Date: Sat, 20 Jun 2009 00:49:44 -0400


Hi, Philippe,

Thanks, this looks like it will be precisely what we need.

Thanks for the reply!
Sal

On Sat, Jun 20, 2009 at 12:23 AM, Philippe Canal <pcanal_at_fnal.gov> wrote:

> Hi Sal,
>
> See TTree::BuildIndex (to be done on the friend tree, this marked which
> expression to use to connect the event in both trees).
>
> Cheers,
> Philippe.
>
>
> Salvatore Rappoccio wrote:
>
>> Hi, All,
>>
>> I was wondering how easy it is for a TTree to access a "friend" TTree when
>> the events of the first tree are a subset of the second? The application
>> would be where the user filters events from one TTree and drops some
>> branches, but then wants to access the original for debugging purposes.
>>
>> I've only used friend trees when there is an event-by-event match. Is this
>> functionality possible directly with friend TTrees?
>>
>> Thanks,
>> Sal Rappoccio
>>
>
Received on Sat Jun 20 2009 - 06:49:50 CEST

This archive was generated by hypermail 2.2.0 : Sat Jun 20 2009 - 23:50:01 CEST