The Gaudi Framework
master (594c33fa)
|
#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators.h>
Public Member Functions | |
unsigned long | nTrueEntries () const |
Public Member Functions inherited from Gaudi::Accumulators::GenericAccumulator< Arithmetic, unsigned long, Atomicity, TrueTo1 > | |
GenericAccumulator ()=default | |
GenericAccumulator (construct_empty_t, const GenericAccumulator< InputType, unsigned long, ato, TrueTo1, Identity, VH > &) | |
constructor of an empty GenericAccumulator, copying the (non existent) config from another GenericAccumulator More... | |
GenericAccumulator (std::in_place_t, Args &&... args) | |
GenericAccumulator (const GenericAccumulator &other) | |
GenericAccumulator | operator+= (const InputType by) |
GenericAccumulator & | operator= (const GenericAccumulator &other) |
OutputType | value () const |
void | reset () |
void | mergeAndReset (GenericAccumulator< InputType, unsigned long, ato, TrueTo1, Identity, VH > &other) |
void | operator+ (GenericAccumulator< InputType, unsigned long, ato, TrueTo1, Identity, VH > &&other) |
Additional Inherited Members | |
Public Types inherited from Gaudi::Accumulators::GenericAccumulator< Arithmetic, unsigned long, Atomicity, TrueTo1 > | |
using | InputType = Arithmetic |
using | OutputType = std::decay_t< std::result_of_t< Identity(unsigned long)> > |
using | InternalType = unsigned long |
using | JSONStringEntriesType = std::string |
Protected Member Functions inherited from Gaudi::Accumulators::GenericAccumulator< Arithmetic, unsigned long, Atomicity, TrueTo1 > | |
GenericAccumulator (unsigned long in) | |
void | reset (unsigned long in) |
auto | rawValue () const |
Static Protected Member Functions inherited from Gaudi::Accumulators::GenericAccumulator< Arithmetic, unsigned long, Atomicity, TrueTo1 > | |
static unsigned long | extractJSONData (const nlohmann::json &j, const JSONStringEntriesType &entries) |
A TrueAccumulator is an Accumulator counting the number of True values in the data data
Definition at line 679 of file Accumulators.h.
|
inline |
Definition at line 681 of file Accumulators.h.