![]() |
The Gaudi Framework
v31r0 (aeb156f0)
|
A counter aiming at computing average and sum2 / variance / standard deviation. 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 | biased_sample_variance () const |
template<typename Result = fp_result_type<Arithmetic>> | |
auto | unbiased_sample_variance () const |
template<typename Result = fp_result_type<Arithmetic>> | |
auto | standard_deviation () const |
Arithmetic | rms () const |
template<typename Result = fp_result_type<Arithmetic>> | |
auto | meanErr () 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 average and sum2 / variance / standard deviation.
Definition at line 736 of file Counters.h.
|
inlineoverridevirtual |
prints the counter to a stream
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 748 of file Counters.h.
|
inlineoverridevirtual |
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 751 of file Counters.h.
|
inline |
Definition at line 742 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 752 of file Counters.h.