TTree::Branch ownership of objects

Could someone, please, add relevant notes about the ownership of objects (plus when to delete them and in what order) in the “TTree” class description , in “==> Case B” at least, and in the “TTree::GetEntry” description.
For a discussion see: [url]GetEntry() crash in second using

Hi,

Yes, a few pointers should be added but I’ll rather try to avoid duplicating the text that is already in the Set[Branch]Address description …

Cheers,
Philippe.

Then maybe you could add there explicit notes that one should read the Set[Branch]Address descriptions for what concerns ownership and when to delete what.

Hi,

As I mentioned, those pointers should be added and now have been added :wink:.

Cheers,
Philippe.