LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Structure with the index of the counter, split as needed. More...
#include "CountersMap.h"
Public Member Functions | |
CounterKey_t () | |
CounterKey_t (BlockKey_t major, CounterIndex_t minor) | |
Constructor from a pair. More... | |
CounterKey_t (Key_t key) | |
Initialize from a mangled key. More... | |
Key_t | Key () const |
Returns the full key. More... | |
operator Key_t () const | |
Conversion of this key into a number (. More... | |
CounterKey_t & | operator++ () |
CounterKey_t & | operator-- () |
CounterKey_t & | operator++ (int) |
CounterKey_t & | operator-- (int) |
CounterKey_t & | start_block () |
Skips to the beginning of this block. More... | |
CounterKey_t & | prev_block () |
Skips to the beginning of the previous block. More... | |
CounterKey_t & | next_block () |
Skips to the beginning of the next block. More... | |
Public Attributes | |
BlockKey_t | block |
key of the counter block More... | |
CounterIndex_t | counter |
index of the counter in the block More... | |
Static Public Attributes | |
static constexpr Key_t | MinorKeyRange = NSubcounters |
Number of values of the minor key. More... | |
static constexpr Key_t | MinorKeyBits = LowestSetBit(MinorKeyRange) |
Number of bits for the minor key. More... | |
static constexpr Key_t | MinorKeyMask = MinorKeyRange - 1 |
Bit mask for the minor key. More... | |
Structure with the index of the counter, split as needed.
Definition at line 275 of file CountersMap.h.
|
inline |
Definition at line 280 of file CountersMap.h.
|
inline |
Constructor from a pair.
Definition at line 283 of file CountersMap.h.
|
inline |
Initialize from a mangled key.
Definition at line 286 of file CountersMap.h.
|
inline |
Returns the full key.
Definition at line 293 of file CountersMap.h.
References util::counter().
|
inline |
Skips to the beginning of the next block.
Definition at line 339 of file CountersMap.h.
|
inline |
Conversion of this key into a number (.
Definition at line 296 of file CountersMap.h.
|
inline |
Definition at line 298 of file CountersMap.h.
|
inline |
Definition at line 311 of file CountersMap.h.
|
inline |
Definition at line 303 of file CountersMap.h.
|
inline |
Definition at line 317 of file CountersMap.h.
|
inline |
Skips to the beginning of the previous block.
Definition at line 332 of file CountersMap.h.
|
inline |
Skips to the beginning of this block.
Definition at line 325 of file CountersMap.h.
BlockKey_t lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::CounterKey_t::block |
key of the counter block
Definition at line 276 of file CountersMap.h.
Referenced by lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::GetCounter(), lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::GetOrCreateCounter(), lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::unchecked_add(), and lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::unchecked_set().
CounterIndex_t lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::CounterKey_t::counter |
index of the counter in the block
Definition at line 277 of file CountersMap.h.
Referenced by lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::GetCounter(), lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::GetOrCreateCounter(), lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::unchecked_add(), and lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::unchecked_set().
|
static |
Number of bits for the minor key.
Definition at line 349 of file CountersMap.h.
|
static |
Bit mask for the minor key.
Definition at line 352 of file CountersMap.h.
|
static |
Number of values of the minor key.
Definition at line 346 of file CountersMap.h.