![]() |
The Gaudi Framework
v41r0 (bdbe7744)
|
#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators/StaticHistogram.h>


Public Types | |
| using | AxisTupleType = std::tuple<AxisTypes...> |
| using | NumberDimensions = std::integral_constant<unsigned int, ND> |
| using | Parent = BufferableCounter<Atomicity, Accumulator, Arithmetic, NumberDimensions, AxisTupleType> |
| using | AccumulatorType = Accumulator<Atomicity, Arithmetic, NumberDimensions, AxisTupleType> |
| using | AxisTupleArithmeticType = typename AccumulatorType::AxisTupleArithmeticType |
| using | AxisArithmeticType = typename std::tuple_element<0, AxisTupleType>::type::ArithmeticType |
| for backward compatibility with previous implementation, should not be used FIXME | |
| Public Types inherited from Gaudi::Accumulators::BufferableCounter< Atomicity, Accumulator, Arithmetic, std::integral_constant< unsigned int, ND >, std::tuple< AxisTypes... > > | |
| using | BufferType |
Public Member Functions | |
| template<typename OWNER> | |
| HistogramingCounterBase (OWNER *owner, std::string const &name, std::string const &title, AxisTupleType axis) | |
| This constructor takes the axis as a tuple. | |
| template<typename OWNER> | |
| HistogramingCounterBase (OWNER *owner, std::string const &name, std::string const &title, AxisTypes... allAxis) | |
| This constructor takes the axis one by one, when ND >= 2. If ND = 1, the other one can be used. | |
| template<typename stream> | |
| stream & | printImpl (stream &o, bool) 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 |
| virtual void | to_json (nlohmann::json &j) const |
| std::string const & | title () const |
| Public Member Functions inherited from Gaudi::Accumulators::BufferableCounter< Atomicity, Accumulator, Arithmetic, std::integral_constant< unsigned int, ND >, std::tuple< AxisTypes... > > | |
| 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 |
| virtual std::ostream & | print (std::ostream &o, std::string_view tag) const |
| prints the counter to a stream in table format, with the given tag | |
| virtual MsgStream & | print (MsgStream &o, std::string_view tag) const |
| virtual bool | toBePrinted () const |
| hint whether we should print that counter or not. | |
| std::string | toString () const |
| get a string representation | |
Static Public Attributes | |
| static const std::string | typeString { std::string{ Type } + ':' + typeid( Arithmetic ).name() } |
| Static Public Attributes inherited from Gaudi::Accumulators::BufferableCounter< Atomicity, Accumulator, Arithmetic, std::integral_constant< unsigned int, ND >, std::tuple< AxisTypes... > > | |
| static const std::string | typeString |
Protected Attributes | |
| std::string const | m_title |
Friends | |
| void | reset (HistogramingCounterBase &c) |
| void | mergeAndReset (HistogramingCounterBase &h, HistogramingCounterBase &o) |
| void | to_json (nlohmann::json &j, HistogramingCounterBase const &h) |
Definition at line 674 of file StaticHistogram.h.
| using Gaudi::Accumulators::HistogramingCounterBase< ND, Atomicity, Arithmetic, Type, Accumulator, std::tuple< AxisTypes... > >::AccumulatorType = Accumulator<Atomicity, Arithmetic, NumberDimensions, AxisTupleType> |
Definition at line 681 of file StaticHistogram.h.
| using Gaudi::Accumulators::HistogramingCounterBase< ND, Atomicity, Arithmetic, Type, Accumulator, std::tuple< AxisTypes... > >::AxisArithmeticType = typename std::tuple_element<0, AxisTupleType>::type::ArithmeticType |
for backward compatibility with previous implementation, should not be used FIXME
Definition at line 684 of file StaticHistogram.h.
| using Gaudi::Accumulators::HistogramingCounterBase< ND, Atomicity, Arithmetic, Type, Accumulator, std::tuple< AxisTypes... > >::AxisTupleArithmeticType = typename AccumulatorType::AxisTupleArithmeticType |
Definition at line 682 of file StaticHistogram.h.
| using Gaudi::Accumulators::HistogramingCounterBase< ND, Atomicity, Arithmetic, Type, Accumulator, std::tuple< AxisTypes... > >::AxisTupleType = std::tuple<AxisTypes...> |
Definition at line 678 of file StaticHistogram.h.
| using Gaudi::Accumulators::HistogramingCounterBase< ND, Atomicity, Arithmetic, Type, Accumulator, std::tuple< AxisTypes... > >::NumberDimensions = std::integral_constant<unsigned int, ND> |
Definition at line 679 of file StaticHistogram.h.
| using Gaudi::Accumulators::HistogramingCounterBase< ND, Atomicity, Arithmetic, Type, Accumulator, std::tuple< AxisTypes... > >::Parent = BufferableCounter<Atomicity, Accumulator, Arithmetic, NumberDimensions, AxisTupleType> |
Definition at line 680 of file StaticHistogram.h.
|
inline |
This constructor takes the axis as a tuple.
Definition at line 688 of file StaticHistogram.h.
|
inline |
This constructor takes the axis one by one, when ND >= 2. If ND = 1, the other one can be used.
Definition at line 694 of file StaticHistogram.h.
|
inlineoverridevirtual |
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 706 of file StaticHistogram.h.
|
inlineoverridevirtual |
prints the counter to a stream
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 703 of file StaticHistogram.h.
|
inline |
|
inline |
Definition at line 728 of file StaticHistogram.h.
|
inlinevirtual |
Definition at line 710 of file StaticHistogram.h.
|
friend |
Definition at line 708 of file StaticHistogram.h.
|
friend |
Definition at line 707 of file StaticHistogram.h.
|
friend |
Definition at line 709 of file StaticHistogram.h.
|
protected |
Definition at line 731 of file StaticHistogram.h.
|
inlinestatic |
Definition at line 685 of file StaticHistogram.h.