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:23:12 CEST
This archive was generated by hypermail 2.2.0 : Sun Jun 21 2009 - 23:50:01 CEST