![]() |
The Gaudi Framework
master (bb95dfce)
|
A counter dealing with binomial data. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators.h>


Public Member Functions | |
| template<typename OWNER> | |
| BinomialCounter (OWNER *o, std::string const &name) | |
| 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 | |
| MsgStream & | print (MsgStream &o, bool tableFormat=false) const override |
| template<typename stream> | |
| stream & | printImpl (stream &o, std::string_view tag) const |
| 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 | |
| MsgStream & | print (MsgStream &o, std::string_view tag) const override |
| bool | toBePrinted () const override |
| hint whether we should print that counter or not. | |
| Public Member Functions inherited from Gaudi::Accumulators::BufferableCounter< atomicity::full, BinomialAccumulator, double > | |
| BufferableCounter ()=default | |
| BufferType | buffer () |
| BufferableCounter & | operator= (BufferableCounter const &)=delete |
| ~BufferableCounter () | |
| Public Member Functions inherited from Gaudi::Accumulators::PrintableCounter | |
| PrintableCounter ()=default | |
| virtual | ~PrintableCounter ()=default |
| destructor | |
| template<typename stream> | |
| stream & | printImpl (stream &s, std::string_view tag) const |
| std::string | toString () const |
| get a string representation | |
| Public Member Functions inherited from Gaudi::Accumulators::BinomialAccumulator< Atomicity, Args... > | |
| unsigned long | nEntries () const |
| auto | efficiency () const |
| auto | eff () const |
| auto | efficiencyErr () const |
| auto | effErr () const |
| BinomialAccumulator & | operator+= (binomial_t b) |
| Public Member Functions inherited from Gaudi::Accumulators::AccumulatorSet< bool, Atomicity, bool, TrueAccumulator, FalseAccumulator > | |
| constexpr | AccumulatorSet ()=default |
| AccumulatorSet & | operator+= (const InputType by) |
| OutputType | value () const |
| void | reset () |
| void | mergeAndReset (AccumulatorSet< bool, Ato, InputType, TrueAccumulator... > &other) |
| void | operator+ (AccumulatorSet< bool, Ato, InputType, TrueAccumulator... > &&other) |
| void | operator++ ()=delete |
| Public Member Functions inherited from Gaudi::Accumulators::TrueAccumulator< Atomicity, bool > | |
| unsigned long | nTrueEntries () const |
| Public Member Functions inherited from Gaudi::Accumulators::GenericAccumulator< bool, unsigned long, Atomicity, TrueTo1 > | |
| GenericAccumulator | operator+= (const InputType by) |
| GenericAccumulator & | operator= (const GenericAccumulator &other) |
| OutputType | value () const |
| void | reset () |
| void | mergeAndReset (GenericAccumulator< InputType, unsigned long, ato, TrueTo1, Identity, VH > &other) |
| void | operator+ (GenericAccumulator< InputType, unsigned long, ato, TrueTo1, Identity, VH > &&other) |
Static Public Member Functions | |
| static BinomialCounter | fromJSON (const nlohmann::json &j) |
Static Public Attributes | |
| static const std::string | typeString |
| Static Public Attributes inherited from Gaudi::Accumulators::BufferableCounter< atomicity::full, BinomialAccumulator, double > | |
| static const std::string | typeString |
Friends | |
| void | reset (BinomialCounter &c) |
| void | mergeAndReset (BinomialCounter &c, BinomialCounter &o) |
| void | to_json (nlohmann::json &j, BinomialCounter const &c) |
A counter dealing with binomial data.
Definition at line 1120 of file Accumulators.h.
|
inline |
Definition at line 1125 of file Accumulators.h.
|
inlinestatic |
Definition at line 1162 of file Accumulators.h.
|
inlineoverridevirtual |
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 1139 of file Accumulators.h.
|
inlineoverridevirtual |
Reimplemented from Gaudi::Accumulators::PrintableCounter.
Definition at line 1149 of file Accumulators.h.
|
inlineoverridevirtual |
prints the counter to a stream
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 1136 of file Accumulators.h.
|
inlineoverridevirtual |
prints the counter to a stream in table format, with the given tag
Reimplemented from Gaudi::Accumulators::PrintableCounter.
Definition at line 1148 of file Accumulators.h.
|
inline |
Definition at line 1129 of file Accumulators.h.
|
inline |
Definition at line 1142 of file Accumulators.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 1150 of file Accumulators.h.
|
friend |
Definition at line 1152 of file Accumulators.h.
|
friend |
Definition at line 1151 of file Accumulators.h.
|
friend |
Definition at line 1153 of file Accumulators.h.
|
inlinestatic |
Definition at line 1121 of file Accumulators.h.