[ROOT] SetAutoDelete & TChain

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Thu Nov 08 2001 - 11:40:18 MET


Hi rooters,

I'm using a TChain to access my tree and its branches. I was wondering,
why the destructors of my functions are not called independant of the
Setting of TChain::GetBranch->SetAutoDelete. From a look at the code of
TChain::GetEntry/LoadTree it seems to me, that the setting of the
autodelete flag is skipped at least when a new File is opened and the
TChainElement settings are copied to the TBranch of the new file. Am I
right, or was the way of setting these flag incorrect?

Thnaks,
Thomas.



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