![]() |
The Gaudi Framework
v41r0 (bdbe7744)
|
AccumulatorSet is an Accumulator that holds a set of Accumulators templated by same Arithmetic and Atomicity and increase them altogether. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators.h>


Public Types | |
| using | InputType = InputTypeT |
| using | OutputType = std::tuple<typename Bases<Atomicity, Arithmetic>::OutputType...> |
| using | InternalType = std::tuple<typename Bases<Atomicity, Arithmetic>::InternalType...> |
| using | JSONStringEntriesType = std::tuple<typename Bases<Atomicity, Arithmetic>::JSONStringEntriesType...> |
Public Member Functions | |
| constexpr | AccumulatorSet ()=default |
| template<atomicity ato> | |
| AccumulatorSet (construct_empty_t, const AccumulatorSet< Arithmetic, ato, InputType, Bases... > &) | |
| constructor of an empty AccumulatorSet, copying the (non existent) config from another GenericAccumulator | |
| AccumulatorSet & | operator+= (const InputType by) |
| OutputType | value () const |
| void | reset () |
| template<atomicity Ato> | |
| void | mergeAndReset (AccumulatorSet< Arithmetic, Ato, InputType, Bases... > &other) |
| template<atomicity Ato> | |
| void | operator+ (AccumulatorSet< Arithmetic, Ato, InputType, Bases... > &&other) |
| void | operator++ ()=delete |
| void | operator++ (int)=delete |
Protected Member Functions | |
| AccumulatorSet (const InternalType &t) | |
| void | reset (const InternalType &t) |
Static Protected Member Functions | |
| static InternalType | extractJSONData (const nlohmann::json &j, const JSONStringEntriesType &entries) |
Static Private Member Functions | |
| template<size_t... Is> | |
| static InternalType | extractJSONDataHelper (const nlohmann::json &j, const JSONStringEntriesType &entries, std::index_sequence< Is... >) |
| static InternalType | extractJSONDataHelper (const nlohmann::json &j, typename Bases< Atomicity, Arithmetic >::JSONStringEntriesType... entries) |
AccumulatorSet is an Accumulator that holds a set of Accumulators templated by same Arithmetic and Atomicity and increase them altogether.
Definition at line 536 of file Accumulators.h.
| using Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, InputTypeT, Bases >::InputType = InputTypeT |
Definition at line 538 of file Accumulators.h.
| using Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, InputTypeT, Bases >::InternalType = std::tuple<typename Bases<Atomicity, Arithmetic>::InternalType...> |
Definition at line 540 of file Accumulators.h.
| using Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, InputTypeT, Bases >::JSONStringEntriesType = std::tuple<typename Bases<Atomicity, Arithmetic>::JSONStringEntriesType...> |
Definition at line 541 of file Accumulators.h.
| using Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, InputTypeT, Bases >::OutputType = std::tuple<typename Bases<Atomicity, Arithmetic>::OutputType...> |
Definition at line 539 of file Accumulators.h.
|
constexprdefault |
|
inline |
constructor of an empty AccumulatorSet, copying the (non existent) config from another GenericAccumulator
Definition at line 545 of file Accumulators.h.
|
inlineprotected |
Definition at line 577 of file Accumulators.h.
|
inlinestaticprotected |
Definition at line 581 of file Accumulators.h.
|
inlinestaticprivate |
Definition at line 587 of file Accumulators.h.
|
inlinestaticprivate |
Definition at line 592 of file Accumulators.h.
|
inline |
Definition at line 564 of file Accumulators.h.
|
inline |
Definition at line 568 of file Accumulators.h.
|
delete |
|
delete |
|
inline |
Definition at line 555 of file Accumulators.h.
|
inline |
Definition at line 562 of file Accumulators.h.
|
inlineprotected |
Definition at line 578 of file Accumulators.h.
|
inline |
Definition at line 561 of file Accumulators.h.