Hi Scott,
Thanks for reporting this issue. The problem is fixed (by revision
29044 of the trunk)
and your test has been added to our nightly tests.
Thanks,
Philippe.
Scott Fallows wrote:
> Hi Philippe,
>
> I've attached an archive containing four data files that I generated
> for this purpose along with my scripts.
>
> I run .x testvertex.C++, which creates chains from the data using
> make_chains.cxx and calls vertex.C, which outputs the value of a
> branch from the first tree and one from the friend tree. Each data
> file contains 500 events, so Process is set up in testvertex.C to
> start at event 480 and loop over the next 40 events.
>
> When I run this, I get correct values for the branch from the friend
> tree for the first 20 events, and then start getting 0 when events
> from the second file are read.
>
> I hope this example is sufficient to see the problem, in either
> MakeProxy or my own code.
>
> Thanks,
> Scott
>
>
>> Hi Scott,
>>
>> Can you provide a concrete running example of both your successes
>> (with TTree) and failures (with TChain)?
>>
>> Thanks,
>> Philippe.
>>
>> Scott Fallows wrote:
>>> Hello,
>>>
>>> I've been able to use MakeProxy with AddFriend-ed TTrees, but am
>>> having difficulty doing the same with TChains. When macrofilename()
>>> accesses a branch from a file after the first in the friend chain,
>>> all events have value 0 (or, occasionally, the value of the branch
>>> for the last event from the first file).
>>>
>>> Should TChain be compatible with the Friend features of MakeProxy?
>>> If it is currently not, I would like to request that this feature be
>>> considered for implementation.
>>>
>>> System: x86, root 5.22/00a
>>>
>>> Thanks,
>>> Scott
>>>
>
Received on Wed Jun 17 2009 - 03:42:28 CEST
This archive was generated by hypermail 2.2.0 : Wed Jun 17 2009 - 11:50:02 CEST