Hi Rene, > Are you using TBranchObject::SetAutoDelete ? cout << (int)T->GetBranch("Event")->IsAutoDelete() << " " << (int)kTRUE << " " << (int)kFALSE << endl; cout << (int)T->GetBranch("m_event")->IsAutoDelete() << endl; cout << (int)T->GetBranch("m_TKR")->IsAutoDelete() << endl; gives 1 1 0 1 1 so I assume the data file was written using SetAutoDelete. I haven't used SetAutoDelete writing the new tree (it was cloned anyway), but the default is AutoDelete == kTRUE, if I understodd correctly. Cheers, Michael
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET