![]() |
The Gaudi Framework
v31r0 (aeb156f0)
|
A counter aiming at computing sum and average. More...
#include <GaudiKernel/Counters.h>
Public Member Functions | |
template<typename stream > | |
stream & | printImpl (stream &o, bool tableFormat) const |
std::ostream & | print (std::ostream &o, bool tableFormat=false) const override |
prints the counter to a stream More... | |
MsgStream & | print (MsgStream &o, bool tableFormat=false) const override |
virtual bool | toBePrinted () const override |
hint whether we should print that counter or not. More... | |
![]() | |
Buffer< Arithmetic, Accumulator > | buffer () |
![]() | |
PrintableCounter ()=default | |
template<class OWNER > | |
PrintableCounter (OWNER *o, const std::string &tag) | |
virtual | ~PrintableCounter ()=default |
destructor More... | |
template<typename stream > | |
stream & | printImpl (stream &s, const std::string &tag) const |
virtual std::ostream & | print (std::ostream &o, const std::string &tag) const |
prints the counter to a stream in table format, with the given tag More... | |
virtual MsgStream & | print (MsgStream &o, const std::string &tag) const |
std::string | toString () const |
get a string representation More... | |
![]() | |
template<typename Result = fp_result_type<Arithmetic>> | |
auto | mean () const |
![]() | |
constexpr | AccumulatorSet ()=default |
AccumulatorSet & | operator+= (const InputType by) |
OutputType | value () const |
void | reset () |
template<atomicity Ato> | |
void | mergeAndReset (AccumulatorSet< Arithmetic, Ato, Bases... > &&other) |
Additional Inherited Members | |
![]() | |
using | InputType = Arithmetic |
using | OutputType = std::tuple< typename Bases< Arithmetic, Atomicity >::OutputType... > |
![]() | |
void | reset (const std::tuple< typename Bases< Arithmetic, Atomicity >::OutputType... > &t) |
A counter aiming at computing sum and average.
Definition at line 707 of file Counters.h.
|
inlineoverridevirtual |
prints the counter to a stream
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 718 of file Counters.h.
|
inlineoverridevirtual |
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 721 of file Counters.h.
|
inline |
Definition at line 713 of file Counters.h.
|
inlineoverridevirtual |
hint whether we should print that counter or not.
Typically empty counters may not be printed
Reimplemented from Gaudi::Accumulators::PrintableCounter.
Definition at line 723 of file Counters.h.