Re: 'Unknown branch' error

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jun 23 1998 - 15:31:32 MEST


Laurent Aphecetche wrote:
> 
> Hi, all happy ROOTERS !
> 
> Is it possible to intercept the 'Unknown branch' that one could get when
> doing a TChain::SetBranchAddress on a branch that does not exist
> (anymore) in a TTree ?

Hi Laurent,
When TChain::SetBranchAddress is called, the TChain object knows
only the list of connected files, but not the info about the
referenced TTree. Obviously, I could connect the first Tree
in the chain to get the list of branches, but this is not currently
implemented.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET