The Gaudi Framework
v30r3 (a5ef0a68)
|
backward compatible StatEntity class. More...
#include <GaudiKernel/Counters.h>
Public Types | |
using | AccParent = Gaudi::Accumulators::AccumulatorSet< double, Gaudi::Accumulators::atomicity::full, Gaudi::Accumulators::StatAccumulator, Gaudi::Accumulators::BinomialAccumulator > |
using | BinomialAccParent = Gaudi::Accumulators::BinomialAccumulator< double, Gaudi::Accumulators::atomicity::full > |
Public Types inherited from Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, Bases > | |
using | InputType = Arithmetic |
using | OutputType = std::tuple< typename Bases< Arithmetic, Atomicity >::OutputType... > |
Public Member Functions | |
StatEntity ()=default | |
the constructor with automatic registration in the owner's counter map More... | |
template<class OWNER > | |
StatEntity (OWNER *o, const std::string &tag) | |
StatEntity (const unsigned long entries, const double flag, const double flag2, const double minFlag, const double maxFlag) | |
void | reset () |
void | operator= (double by) |
StatEntity & | operator-= (double by) |
StatEntity & | operator++ () |
StatEntity | operator++ (int) |
StatEntity & | operator-- () |
StatEntity | operator-- (int) |
bool | operator< (const StatEntity &se) const |
StatEntity & | operator+= (double by) |
StatEntity & | operator+= (StatEntity by) |
unsigned long | add (const double v) |
unsigned long | addFlag (const double v) |
double | Sum () const |
double | Mean () const |
double | MeanErr () const |
double | rms () const |
double | Rms () const |
double | RMS () const |
double | Eff () const |
double | Min () const |
double | Max () const |
double | flag () const |
double | flag2 () const |
double | flagMean () const |
double | flagRMS () const |
double | flagMeanErr () const |
double | flagMin () const |
double | flagMax () const |
std::ostream & | printFormatted (std::ostream &o, const std::string &format) const |
std::ostream & | print (std::ostream &o, bool tableFormat, const std::string &name, bool flag=true, std::string fmtHead="%|-48.48s|%|27t|") const |
virtual std::ostream & | print (std::ostream &o, const std::string &tag) const override |
prints the counter to a stream in table format, with the given tag More... | |
std::ostream & | print (std::ostream &o, bool tableFormat=false) const override |
prints the counter to a stream More... | |
std::string | toString () const |
std::ostream & | fillStream (std::ostream &o) const |
Public Member Functions inherited from Gaudi::Accumulators::PrintableCounter | |
PrintableCounter ()=default | |
template<class OWNER > | |
PrintableCounter (OWNER *o, const std::string &tag) | |
virtual | ~PrintableCounter ()=default |
destructor More... | |
std::string | toString () const |
get a string representation More... | |
Public Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, Bases > | |
constexpr | AccumulatorSet ()=default |
AccumulatorSet & | operator+= (const InputType by) |
OutputType | value () const |
void | reset () |
template<atomicity Ato> | |
void | mergeAndReset (AccumulatorSet< Arithmetic, Ato, Bases... > &&other) |
Static Public Member Functions | |
static bool | effCounter (const std::string &name) |
Additional Inherited Members | |
Protected Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, Bases > | |
void | reset (const std::tuple< typename Bases< Arithmetic, Atomicity >::OutputType... > &t) |
backward compatible StatEntity class.
Should not be used. Only here for backward compatibility
Definition at line 777 of file Counters.h.
using StatEntity::AccParent = Gaudi::Accumulators::AccumulatorSet<double, Gaudi::Accumulators::atomicity::full, Gaudi::Accumulators::StatAccumulator, Gaudi::Accumulators::BinomialAccumulator> |
Definition at line 785 of file Counters.h.
using StatEntity::BinomialAccParent = Gaudi::Accumulators::BinomialAccumulator<double, Gaudi::Accumulators::atomicity::full> |
Definition at line 786 of file Counters.h.
|
default |
the constructor with automatic registration in the owner's counter map
|
inline |
Definition at line 792 of file Counters.h.
|
inline |
Definition at line 796 of file Counters.h.
|
inline |
Definition at line 852 of file Counters.h.
|
inline |
Definition at line 857 of file Counters.h.
|
inline |
Definition at line 865 of file Counters.h.
|
inlinestatic |
Definition at line 876 of file Counters.h.
|
inline |
Definition at line 945 of file Counters.h.
|
inline |
Definition at line 869 of file Counters.h.
|
inline |
Definition at line 870 of file Counters.h.
|
inline |
Definition at line 875 of file Counters.h.
|
inline |
Definition at line 871 of file Counters.h.
|
inline |
Definition at line 873 of file Counters.h.
|
inline |
Definition at line 874 of file Counters.h.
|
inline |
Definition at line 872 of file Counters.h.
|
inline |
Definition at line 867 of file Counters.h.
|
inline |
Definition at line 860 of file Counters.h.
|
inline |
Definition at line 861 of file Counters.h.
|
inline |
Definition at line 866 of file Counters.h.
|
inline |
Definition at line 814 of file Counters.h.
|
inline |
Definition at line 819 of file Counters.h.
|
inline |
Definition at line 842 of file Counters.h.
|
inline |
Definition at line 847 of file Counters.h.
|
inline |
Definition at line 825 of file Counters.h.
|
inline |
Definition at line 830 of file Counters.h.
|
inline |
Definition at line 809 of file Counters.h.
|
inline |
Definition at line 836 of file Counters.h.
|
inline |
Definition at line 804 of file Counters.h.
|
inline |
Definition at line 889 of file Counters.h.
|
inlineoverridevirtual |
prints the counter to a stream in table format, with the given tag
Reimplemented from Gaudi::Accumulators::PrintableCounter.
Definition at line 930 of file Counters.h.
|
inlineoverridevirtual |
prints the counter to a stream
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 934 of file Counters.h.
|
inline |
Definition at line 882 of file Counters.h.
|
inline |
Definition at line 803 of file Counters.h.
|
inline |
Definition at line 862 of file Counters.h.
|
inline |
Definition at line 863 of file Counters.h.
|
inline |
Definition at line 864 of file Counters.h.
|
inline |
Definition at line 859 of file Counters.h.
|
inline |
Definition at line 939 of file Counters.h.