TRefArray length and GetEntriesFast() is not same?

I print a a TRefArray object ( FatJet.Constituents in FatJet branch in a ROOT file produced by Delphes), I find that sometimes the length of the array is not same with the GetEntriesFast(), the length is usually larger than the GetEntriesFast().

Is there any reason? and what’s the elements that are not counted by GetEntriesFast() but in the array?

GetEntriesFast() returns the collection size - the number of slots, while GetEntries() returns the number of filled slots. So the former should be greater or equal than the latter.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.