From Axel: when you ask a TBranchProxy of a split TClonesArray how many entries the TCA has, it will only ready the entries member - and still think that it has read the complete TCA. So all following accesses to the elements contained in the TCA will return invalid objects. Attached patch fixes that by not setting fRead when only the number of entries has been read. It introduces a slight performance penalty for multiple ClonesProxy/GetEntries() calls.
From Axel:
when you ask a TBranchProxy of a split TClonesArray how many entries the
TCA has, it will only ready the entries member - and still think that it
has read the complete TCA. So all following accesses to the elements
contained in the TCA will return invalid objects. Attached patch fixes
that by not setting fRead when only the number of entries has been read.
It introduces a slight performance penalty for multiple
ClonesProxy/GetEntries() calls.


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@19631 27541ba8-7e3a-0410-8455-c3a389f83636

dawehner/root,dawehner/root,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,dawehner/root