Int_t fLastIndexQueried
to fasten Contains() in list mode
void OptimizeStorage()
If there are < kBlockSize or >kBlockSize*15 entries, change to an array representation.
Int_t fLastIndexReturned
to optimize GetEntry() in a loop
Int_t Merge(TEntryListBlock *block)
Merge with the other block Returns the resulting number of entries in the block.
Bool_t Enter(Int_t entry)
If the block has already been optimized and the entries are stored as a list and not as bits...
Int_t GetEntry(Int_t entry)
Return entry entry.
void PrintWithShift(Int_t shift) const
Print the indices of this block + shift (used from TEntryList::Print()) to print the corrent values...
Int_t Contains(Int_t entry)
True if the block contains entry entry.
Int_t GetNPassed()
Returns the number of entries, passing the selection.
Int_t Next()
Return the next non-zero entry Faster than GetEntry() function.
virtual void Print(const Option_t *option="") const
Print the entries in this block.
Bool_t Remove(Int_t entry)
Remove entry entry If the block has already been optimized and the entries are stored as a list and n...
void Transform(Bool_t dir, UShort_t *indexnew)
to optimize GetEntry() in a loop
Used by TEntryList to store the entry numbers.
TEntryListBlock & operator=(const TEntryListBlock &rhs)