![]() |
The Gaudi Framework
v33r0 (d5ea422b)
|
Counter class for histogram storage. More...
#include <Gaudi/Accumulators/Histogram.h>


Public Types | |
| using | Adapter = Details::HistogramAdapter< HistogramType > |
Public Member Functions | |
| Histogram (HistogramType h) | |
| template<class OWNER > | |
| Histogram (OWNER *o, const std::string &tag, HistogramType h) | |
| std::ostream & | print (std::ostream &s, bool tableFormat=false) const override |
| MsgStream & | print (MsgStream &s, bool tableFormat=true) const override |
| bool | toBePrinted () const override |
| template<class... Ts> | |
| Histogram & | operator() (const Ts &... ts) |
| template<typename T = HistogramType, typename INC = typename Details::HistogramAdapter<T>::increment_t> | |
| Histogram & | operator+= (const INC &x) |
| template<class... Ts> | |
| Histogram & | fill (const Ts &... ts) |
| HistogramType & | hist () |
| const HistogramType & | hist () const |
Private Attributes | |
| Adapter | m_hist |
Counter class for histogram storage.
(EXPERIMENTAL)
It is an experimental feature and the interface may change.
This Gaudi::Accumulator class can be used to add histograms as data members of algorithms, similar to the simpler counters.
For example:
Known issues:
Definition at line 132 of file Histogram.h.
| using Gaudi::Accumulators::Histogram< HistogramType >::Adapter = Details::HistogramAdapter<HistogramType> |
Definition at line 133 of file Histogram.h.
|
inline |
Definition at line 135 of file Histogram.h.
|
inline |
Definition at line 138 of file Histogram.h.
|
inline |
Definition at line 155 of file Histogram.h.
|
inline |
|
inline |
Definition at line 164 of file Histogram.h.
|
inline |
Add something to the histogram (see documentation of the histogram implementation).
Definition at line 145 of file Histogram.h.
|
inline |
Definition at line 150 of file Histogram.h.
|
inlineoverride |
Definition at line 169 of file Histogram.h.
|
inlineoverride |
Definition at line 172 of file Histogram.h.
|
inlineoverride |
Definition at line 175 of file Histogram.h.
|
private |
Definition at line 178 of file Histogram.h.