![]() |
The Gaudi Framework
v31r0 (aeb156f0)
|
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 > |
![]() | |
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 |
template<typename stream > | |
stream & | printFormattedImpl (stream &o, const std::string &format) const |
std::ostream & | printFormatted (std::ostream &o, const std::string &format) const |
MsgStream & | printFormatted (MsgStream &o, const std::string &format) const |
template<typename stream > | |
stream & | printImpl (stream &o, bool tableFormat, const std::string &name, bool flag, std::string const &fmtHead) const |
std::ostream & | print (std::ostream &o, bool tableFormat, const std::string &name, bool flag=true, std::string fmtHead="%|-48.48s|%|27t|") const |
MsgStream & | print (MsgStream &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... | |
virtual MsgStream & | print (MsgStream &o, const std::string &tag) const override |
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 |
std::string | toString () const |
std::ostream & | fillStream (std::ostream &o) const |
MsgStream & | fillStream (MsgStream &o) const |
![]() | |
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 bool | toBePrinted () const |
hint whether we should print that counter or not. More... | |
std::string | toString () const |
get a string representation More... | |
![]() | |
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 | |
![]() | |
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 837 of file Counters.h.
using StatEntity::AccParent = Gaudi::Accumulators::AccumulatorSet<double, Gaudi::Accumulators::atomicity::full, Gaudi::Accumulators::StatAccumulator, Gaudi::Accumulators::BinomialAccumulator> |
Definition at line 844 of file Counters.h.
using StatEntity::BinomialAccParent = Gaudi::Accumulators::BinomialAccumulator<double, Gaudi::Accumulators::atomicity::full> |
Definition at line 845 of file Counters.h.
|
default |
the constructor with automatic registration in the owner's counter map
|
inline |
Definition at line 851 of file Counters.h.
|
inline |
Definition at line 854 of file Counters.h.
|
inline |
Definition at line 900 of file Counters.h.
|
inline |
Definition at line 904 of file Counters.h.
|
inline |
Definition at line 912 of file Counters.h.
|
inlinestatic |
Definition at line 923 of file Counters.h.
|
inline |
Definition at line 1005 of file Counters.h.
Definition at line 1006 of file Counters.h.
|
inline |
Definition at line 916 of file Counters.h.
|
inline |
Definition at line 917 of file Counters.h.
|
inline |
Definition at line 922 of file Counters.h.
|
inline |
Definition at line 918 of file Counters.h.
|
inline |
Definition at line 920 of file Counters.h.
|
inline |
Definition at line 921 of file Counters.h.
|
inline |
Definition at line 919 of file Counters.h.
|
inline |
Definition at line 914 of file Counters.h.
|
inline |
Definition at line 907 of file Counters.h.
|
inline |
Definition at line 908 of file Counters.h.
|
inline |
Definition at line 913 of file Counters.h.
|
inline |
Definition at line 869 of file Counters.h.
|
inline |
Definition at line 873 of file Counters.h.
|
inline |
Definition at line 892 of file Counters.h.
|
inline |
Definition at line 896 of file Counters.h.
|
inline |
Definition at line 878 of file Counters.h.
|
inline |
Definition at line 882 of file Counters.h.
|
inline |
Definition at line 865 of file Counters.h.
|
inline |
Definition at line 887 of file Counters.h.
|
inline |
Definition at line 861 of file Counters.h.
|
inline |
Definition at line 978 of file Counters.h.
|
inline |
Definition at line 982 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 986 of file Counters.h.
|
inlineoverridevirtual |
Reimplemented from Gaudi::Accumulators::PrintableCounter.
Definition at line 989 of file Counters.h.
|
inlineoverridevirtual |
prints the counter to a stream
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 992 of file Counters.h.
|
inlineoverridevirtual |
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 996 of file Counters.h.
|
inline |
Definition at line 934 of file Counters.h.
|
inline |
Definition at line 937 of file Counters.h.
|
inline |
Definition at line 929 of file Counters.h.
|
inline |
Definition at line 940 of file Counters.h.
|
inline |
Definition at line 860 of file Counters.h.
|
inline |
Definition at line 909 of file Counters.h.
|
inline |
Definition at line 910 of file Counters.h.
|
inline |
Definition at line 911 of file Counters.h.
|
inline |
Definition at line 906 of file Counters.h.
|
inline |
Definition at line 1000 of file Counters.h.