Classes | Namespaces | Functions | Variables
CountersMap.h File Reference

Map of counters, stored compactly. More...

#include <cstddef>
#include <map>
#include <array>
#include <functional>
#include <memory>
#include <utility>
#include <iterator>
#include <type_traits>

Go to the source code of this file.

Classes

class  lar::details::CounterBlock< COUNTER, NCounters >
 Type of block of counters (just a STL array until SUBCOUNTERS are in) More...
 
struct  lar::details::CountersMapTraits< KEY, COUNTER, SIZE >
 
class  lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >
 Map storing counters in a compact way. More...
 
struct  lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::CounterKey_t
 Structure with the index of the counter, split as needed. More...
 
class  lar::CountersMap< KEY, COUNTER, SIZE, ALLOC, SUBCOUNTERS >::const_iterator
 

Namespaces

 lar
 LArSoft-specific namespace.
 
 lar::details
 Namespace hiding implementation details.
 
 lar::details::counters_map
 

Functions

constexpr bool lar::IsPowerOf2 (unsigned long long int v)
 Returns true if the argument is a power of 2. More...
 
constexpr int lar::LowestSetBit (unsigned long long int v)
 Returns the position of the first set bit (0 for LSB) More...
 
constexpr int lar::details::LowestSetBitScaler (unsigned long long int v, int b)
 Internally used by LowestSetBit. More...
 

Variables

static constexpr bool lar::details::counters_map::bDebug = true
 

Detailed Description

Map of counters, stored compactly.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
August 22th, 2014

Definition in file CountersMap.h.