Definition at line 35 of file TBranchCacheInfo.h.
Public Member Functions | |
bool | AllUsed () const |
Return true if all the baskets that are marked loaded are also mark as used. | |
void | GetUnused (std::vector< Int_t > &unused) |
Return a set of unused basket, let's not re-read them. | |
bool | HasBeenUsed (Int_t basketNumber) const |
Return true if the basket has been marked as 'used'. | |
bool | IsInCache (Int_t basketNumber) const |
Return true if the basket is currently in the cache. | |
bool | IsVetoed (Int_t basketNumber) const |
Return true if the basket is currently vetoed. | |
void | Print (const char *owner, Long64_t *entries) const |
Print the info we have for the baskets. | |
void | Reset () |
Reset all info. | |
void | SetIsInCache (Int_t basketNumber) |
Mark if the basket is currently in the cache. | |
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. | |
Private Types | |
enum | EStates { kLoaded = 0 , kUsed = 1 , kVetoed = 2 , kSize = 3 } |
Private Member Functions | |
void | SetState (Int_t basketNumber, EStates what) |
Mark if the basket has been marked has the 'what' state. | |
bool | TestState (Int_t basketNumber, EStates what) const |
Return true if the basket has been marked as having the 'what' state. | |
void | UpdatePedestal (Int_t basketNumber) |
Update the pedestal to be less or equal to basketNumber, shift the bits if needed. | |
Private Attributes | |
Int_t | fBasketPedestal {-1} |
TBits | fInfo |
#include <TBranchCacheInfo.h>
|
private |
Enumerator | |
---|---|
kLoaded | |
kUsed | |
kVetoed | |
kSize |
Definition at line 37 of file TBranchCacheInfo.h.
|
inline |
Return true if all the baskets that are marked loaded are also mark as used.
Definition at line 109 of file TBranchCacheInfo.h.
|
inline |
Return a set of unused basket, let's not re-read them.
Definition at line 122 of file TBranchCacheInfo.h.
Return true if the basket has been marked as 'used'.
Definition at line 76 of file TBranchCacheInfo.h.
Return true if the basket is currently in the cache.
Definition at line 86 of file TBranchCacheInfo.h.
Return true if the basket is currently vetoed.
Definition at line 105 of file TBranchCacheInfo.h.
|
inline |
Print the info we have for the baskets.
Definition at line 141 of file TBranchCacheInfo.h.
|
inline |
Reset all info.
Definition at line 134 of file TBranchCacheInfo.h.
|
inline |
Mark if the basket is currently in the cache.
Definition at line 89 of file TBranchCacheInfo.h.
Mark if the basket has been marked has the 'what' state.
Definition at line 68 of file TBranchCacheInfo.h.
|
inline |
Mark if the basket has been marked as 'used'.
Definition at line 79 of file TBranchCacheInfo.h.
|
inlineprivate |
Return true if the basket has been marked as having the 'what' state.
Definition at line 60 of file TBranchCacheInfo.h.
|
inlineprivate |
Update the pedestal to be less or equal to basketNumber, shift the bits if needed.
Definition at line 48 of file TBranchCacheInfo.h.
|
inline |
Mark if the basket should be vetoed in the next round.
This happens when the basket was loaded in the previous round and was not used and is overlapping to the next round/cluster
Definition at line 98 of file TBranchCacheInfo.h.
|
private |
Definition at line 44 of file TBranchCacheInfo.h.
|
private |
Definition at line 45 of file TBranchCacheInfo.h.