Hi Henrique,
Something seems to be broken with TChains and friends.
I am currently busy preparing my trip to FermiLab next week.
I will investigate as soon as I can. I will keep you informed.
Rene Brun
Henrike Wissing wrote:
>
> Hi,
>
> I'm using root version 3.02/07 and have some problems with the
> TChain::AddFriend method.
> In absolute accordance with the example in the users guide i do:
>
> TChain nu("h100");
> nu.Add("file1.root"); // file1 contains one tree named h100
>
> TChain nufriend("tfriend");
> nufriend.Add("friendfile.root"); // friendfile contains one tree named
> // tfriend
>
> nu.AddFriend("tfriend"); //then gives the message:
>
> Warning in <TChain::AddFriend>: Unknown TChain tfriend
>
> and trying to access any variable contained in the friedfile
> [eg by nu.Draw("any_friend_variable")] results in:
>
> *** Break *** segmentation violation
>
> The individual trees are OK. [I can access them by h100/tfriend.Draw(...)]
>
> Could anybody tell me what goes wrong ?
>
> Thanks in advance
>
> Henrike
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:53 MET