12#ifndef ROOT_TBranchCacheInfo
13#define ROOT_TBranchCacheInfo
143 if (!owner || !entries)
void Printf(const char *fmt,...)
Bool_t HasBeenUsed(Int_t basketNumber) const
Return true if the basket has been marked as 'used'.
Bool_t AllUsed() const
Return true if all the baskets that are marked loaded are also mark as used.
Bool_t IsVetoed(Int_t basketNumber) const
Return true if the basket is currently vetoed.
void SetUsed(Int_t basketNumber)
Mark if the basket has been marked as 'used'.
void Veto(Int_t basketNumber)
Mark if the basket should be vetoed in the next round.
void Reset()
Reset all info.
void Print(const char *owner, Long64_t *entries) const
Print the info we have for the baskets.
Bool_t TestState(Int_t basketNumber, EStates what) const
Return true if the basket has been marked as having the 'what' state.
void SetState(Int_t basketNumber, EStates what)
Mark if the basket has been marked has the 'what' state.
void UpdatePedestal(Int_t basketNumber)
Update the pedestal to be less or equal to basketNumber, shift the bits if needed.
Bool_t IsInCache(Int_t basketNumber) const
Return true if the basket is currently in the cache.
void GetUnused(std::vector< Int_t > &unused)
Return a set of unused basket, let's not re-read them.
void SetIsInCache(Int_t basketNumber)
Mark if the basket is currently in the cache.
void ResetAllBits(Bool_t value=kFALSE)
Reset all bits to 0 (false).
Bool_t TestBitNumber(UInt_t bitnumber) const
void SetBitNumber(UInt_t bitnumber, Bool_t value=kTRUE)
A TTree is a list of TBranches.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...