ATLAS Offline Software
|
IDC like storage for BS errors, TODO, customise implementation further so that we store int rather than int*. More...
#include <IDCInDetBSErrContainer.h>
Public Types | |
typedef uint64_t | ErrorCode |
typedef uint64_t | value_type |
typedef IdentifiableValueCache< uint64_t > | Cache |
Public Member Functions | |
const uint64_t & | emptyValue () const |
Return the empty value that is interpreted as an empty entry. More... | |
bool | present (size_t i) const |
Is the value for this has set and also accepted in the mask. More... | |
bool | setOrDrop (size_t i, const uint64_t &value) |
Set the value for the given hash. More... | |
size_t | maxSize () const |
Return the maxSize of the collection. More... | |
size_t | numberSet () const |
Return the number of entries set and accessible according to the mask. More... | |
bool | tryAddFromCache (size_t i) |
Returns true if the value is also in the external cache, sets mask to true if it is. More... | |
uint64_t | retrieve (size_t i) const |
Retrieve the value of the hash, if accessible according to the mask. More... | |
std::vector< std::pair< size_t, uint64_t > > | getAll () const |
Make a vector of hashes and values, convenient for iteration and other uses. More... | |
const std::vector< std::atomic< uint64_t > > & | wholeEventReadAccess () const |
Get read only access to the whole external cache. This could be useful for special situations. More... | |
const Cache * | cache () const |
Obtain const access to the cache. More... | |
const std::set< size_t > & | getMask () const |
Private Attributes | |
std::set< size_t > | m_mask |
Cache * | m_cache |
bool | m_own |
IDC like storage for BS errors, TODO, customise implementation further so that we store int rather than int*.
Definition at line 19 of file IDCInDetBSErrContainer.h.
|
inherited |
Definition at line 25 of file IdentifiableValueContainer.h.
typedef uint64_t IDCInDetBSErrContainer::ErrorCode |
Definition at line 21 of file IDCInDetBSErrContainer.h.
|
inherited |
Definition at line 24 of file IdentifiableValueContainer.h.
|
inlineinherited |
|
inlineinherited |
Return the empty value that is interpreted as an empty entry.
Definition at line 48 of file IdentifiableValueContainer.h.
|
inherited |
Make a vector of hashes and values, convenient for iteration and other uses.
Definition at line 71 of file IdentifiableValueContainer.h.
|
inlineinherited |
Definition at line 79 of file IdentifiableValueContainer.h.
|
inlineinherited |
Return the maxSize of the collection.
Definition at line 58 of file IdentifiableValueContainer.h.
|
inherited |
Return the number of entries set and accessible according to the mask.
This is not a trivial function do not repeatedly call.
Definition at line 62 of file IdentifiableValueContainer.h.
|
inherited |
Is the value for this has set and also accepted in the mask.
Definition at line 52 of file IdentifiableValueContainer.h.
|
inherited |
Retrieve the value of the hash, if accessible according to the mask.
Definition at line 68 of file IdentifiableValueContainer.h.
|
inherited |
|
inherited |
|
inlineinherited |
Get read only access to the whole external cache. This could be useful for special situations.
Definition at line 74 of file IdentifiableValueContainer.h.
|
privateinherited |
Definition at line 82 of file IdentifiableValueContainer.h.
|
privateinherited |
Definition at line 81 of file IdentifiableValueContainer.h.
|
privateinherited |
Definition at line 83 of file IdentifiableValueContainer.h.