Re: [ROOT] How do I disable reading of a leaf in a TChain

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 16 2001 - 15:15:51 MEST


Hi Thomas,

You cannot do this. I/O is at the branch level not the leaf.
There is one buffer (basket) per branch.
Recipee: make a leaf a branch

Rene Brun


Thomas Bretz wrote:
> 
> Hello rooters,
> 
> I enabled a branch of my TCHain object by TChain::SetBranchAddress. Now
> I'm trying to disable some of its leafs, so that only the variables I
> need are read in. How do I do this correctly? I tried using
> TChain::GetLeaf->SetAddress(0) but this failed.
> 
> Thanks in advance,
> Thomas.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET