![]() |
The Gaudi Framework
v36r1 (3e2fb5a8)
|
backward compatible StatEntity class. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/StatEntity.h>


Public Member Functions | |
| StatEntity ()=default | |
| the constructor with automatic registration in the owner's counter map More... | |
| 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, std::string_view name, bool flag, std::string_view fmtHead) const |
| std::ostream & | print (std::ostream &o, bool tableFormat, std::string_view name, bool flag=true, std::string_view fmtHead="%|-48.48s|%|27t|") const |
| MsgStream & | print (MsgStream &o, bool tableFormat, std::string_view name, bool flag=true, std::string_view fmtHead="%|-48.48s|%|27t|") const |
| virtual std::ostream & | print (std::ostream &o, std::string_view tag) const override |
| prints the counter to a stream in table format, with the given tag More... | |
| virtual MsgStream & | print (MsgStream &o, std::string_view 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 |
| virtual nlohmann::json | toJSON () const override |
| Basic JSON export for Gaudi::Monitoring::Hub support. More... | |
Public Member Functions inherited from Gaudi::Accumulators::PrintableCounter | |
| PrintableCounter ()=default | |
| virtual | ~PrintableCounter ()=default |
| destructor More... | |
| template<typename stream > | |
| stream & | printImpl (stream &s, std::string_view 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... | |
Public Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< double, Gaudi::Accumulators::atomicity::full, double, Gaudi::Accumulators::StatAccumulator, Gaudi::Accumulators::BinomialAccumulator > | |
| constexpr | AccumulatorSet ()=default |
| AccumulatorSet (construct_empty_t, const AccumulatorSet< double, ato, InputType, Gaudi::Accumulators::StatAccumulator ... > &) | |
| constructor of an empty AccumulatorSet, copying the (non existent) config from another GenericAccumulator More... | |
| AccumulatorSet & | operator+= (const InputType by) |
| OutputType | value () const |
| void | reset () |
| void | mergeAndReset (AccumulatorSet< double, Ato, InputType, Gaudi::Accumulators::StatAccumulator ... > &&other) |
| void | operator+ (AccumulatorSet< double, Ato, InputType, Gaudi::Accumulators::StatAccumulator ... > &&other) |
Public Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, InputTypeT, Bases > | |
| 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 More... | |
| 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) |
Static Public Member Functions | |
| static bool | effCounter (std::string_view name) |
| static StatEntity | fromJSON (const nlohmann::json &j) |
Static Public Attributes | |
| static const std::string | typeString {"statentity"} |
Additional Inherited Members | |
Protected Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< double, Gaudi::Accumulators::atomicity::full, double, Gaudi::Accumulators::StatAccumulator, Gaudi::Accumulators::BinomialAccumulator > | |
| void | reset (const InternalType &t) |
Protected Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, InputTypeT, Bases > | |
| void | reset (const InternalType &t) |
Static Protected Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< double, Gaudi::Accumulators::atomicity::full, double, Gaudi::Accumulators::StatAccumulator, Gaudi::Accumulators::BinomialAccumulator > | |
| static InternalType | extractJSONData (const nlohmann::json &j, const JSONStringEntriesType &entries) |
Static Protected Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< Arithmetic, Atomicity, InputTypeT, Bases > | |
| static InternalType | extractJSONData (const nlohmann::json &j, const JSONStringEntriesType &entries) |
backward compatible StatEntity class.
Should not be used. Only here for backward compatibility
Definition at line 18 of file StatEntity.h.
| using StatEntity::AccParent = Gaudi::Accumulators::AccumulatorSet<double, Gaudi::Accumulators::atomicity::full, double, Gaudi::Accumulators::StatAccumulator, Gaudi::Accumulators::BinomialAccumulator> |
Definition at line 24 of file StatEntity.h.
| using StatEntity::BinomialAccParent = Gaudi::Accumulators::BinomialAccumulator<Gaudi::Accumulators::atomicity::full, double> |
Definition at line 27 of file StatEntity.h.
|
default |
the constructor with automatic registration in the owner's counter map
|
inline |
Definition at line 32 of file StatEntity.h.
|
inline |
Definition at line 78 of file StatEntity.h.
|
inline |
Definition at line 82 of file StatEntity.h.
|
inline |
Definition at line 90 of file StatEntity.h.
|
inlinestatic |
Definition at line 183 of file StatEntity.h.
|
inline |
Definition at line 182 of file StatEntity.h.
|
inline |
Definition at line 94 of file StatEntity.h.
|
inline |
Definition at line 95 of file StatEntity.h.
|
inline |
Definition at line 100 of file StatEntity.h.
|
inline |
Definition at line 96 of file StatEntity.h.
|
inline |
Definition at line 98 of file StatEntity.h.
|
inline |
Definition at line 99 of file StatEntity.h.
|
inline |
Definition at line 97 of file StatEntity.h.
|
inlinestatic |
Definition at line 200 of file StatEntity.h.
|
inline |
Definition at line 92 of file StatEntity.h.
|
inline |
Definition at line 85 of file StatEntity.h.
|
inline |
Definition at line 86 of file StatEntity.h.
|
inline |
Definition at line 91 of file StatEntity.h.
|
inline |
Definition at line 47 of file StatEntity.h.
|
inline |
Definition at line 51 of file StatEntity.h.
|
inline |
Definition at line 70 of file StatEntity.h.
|
inline |
Definition at line 74 of file StatEntity.h.
|
inline |
Definition at line 56 of file StatEntity.h.
|
inline |
Definition at line 60 of file StatEntity.h.
|
inline |
Definition at line 43 of file StatEntity.h.
|
inline |
Definition at line 65 of file StatEntity.h.
|
inline |
Definition at line 39 of file StatEntity.h.
|
inline |
Definition at line 161 of file StatEntity.h.
|
inlineoverridevirtual |
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 173 of file StatEntity.h.
|
inlineoverridevirtual |
Reimplemented from Gaudi::Accumulators::PrintableCounter.
Definition at line 168 of file StatEntity.h.
|
inline |
Definition at line 157 of file StatEntity.h.
|
inlineoverridevirtual |
prints the counter to a stream
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 169 of file StatEntity.h.
|
inlineoverridevirtual |
prints the counter to a stream in table format, with the given tag
Reimplemented from Gaudi::Accumulators::PrintableCounter.
Definition at line 165 of file StatEntity.h.
|
inline |
Definition at line 115 of file StatEntity.h.
|
inline |
Definition at line 112 of file StatEntity.h.
|
inline |
|
inline |
Definition at line 118 of file StatEntity.h.
|
inline |
Definition at line 38 of file StatEntity.h.
|
inline |
Definition at line 87 of file StatEntity.h.
|
inline |
Definition at line 88 of file StatEntity.h.
|
inline |
Definition at line 89 of file StatEntity.h.
|
inline |
Definition at line 84 of file StatEntity.h.
|
inlineoverridevirtual |
Basic JSON export for Gaudi::Monitoring::Hub support.
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 185 of file StatEntity.h.
|
inline |
Definition at line 177 of file StatEntity.h.
|
inlinestatic |
Definition at line 23 of file StatEntity.h.