LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Type of block of counters (just a STL array until SUBCOUNTERS are in) More...
#include "CountersMap.h"
Public Types | |
using | Counter_t = COUNTER |
using | Array_t = std::array< Counter_t, NCounters > |
type of base class More... | |
using | value_type = typename Array_t::value_type |
Public Member Functions | |
CounterBlock () | |
Default constructor: initializes the array to 0. More... | |
CounterBlock (size_t index, Counter_t value) | |
Convenience constructor: initializes all counters to 0, except one. More... | |
void | fill (const value_type &value) |
void | fill (size_t begin, size_t n, const value_type &value) |
Public Attributes | |
T | elements |
STL member. More... | |
Type of block of counters (just a STL array until SUBCOUNTERS are in)
Definition at line 36 of file CountersMap.h.
using lar::details::CounterBlock< COUNTER, NCounters >::Array_t = std::array<Counter_t, NCounters> |
type of base class
Definition at line 40 of file CountersMap.h.
using lar::details::CounterBlock< COUNTER, NCounters >::Counter_t = COUNTER |
Definition at line 38 of file CountersMap.h.
using lar::details::CounterBlock< COUNTER, NCounters >::value_type = typename Array_t::value_type |
Definition at line 41 of file CountersMap.h.
|
inline |
Default constructor: initializes the array to 0.
Definition at line 44 of file CountersMap.h.
References trkf::fill().
|
inline |
Convenience constructor: initializes all counters to 0, except one.
Definition at line 47 of file CountersMap.h.
References value.
|
inline |
Definition at line 52 of file CountersMap.h.
References trkf::fill().
|
inline |
Definition at line 53 of file CountersMap.h.
References trkf::fill().
|
inherited |
STL member.