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

Public Types | |
| using | AxisTupleType = typename HistogramType::AxisTupleType |
| using | AxisArithmeticType = typename HistogramType::AxisArithmeticType |
| using | BufferType = typename HistogramType::BufferType |
| template<unsigned int I> | |
| using | AxisType = std::tuple_element_t<I, AxisTupleType> |
Public Member Functions | |
| template<typename OWNER> | |
| HistogramWrapperInternal (OWNER *owner, std::string const &name, std::string const &title="", typename HistogramType::AxisTupleType axis={}, bool doNotInitialize=false) | |
| constructor, only creates a set of Properties | |
| template<typename OWNER> | |
| HistogramWrapperInternal (OWNER const *owner, std::string const &name, std::string const &title="", typename HistogramType::AxisTupleType axis={}) | |
| constructor with const owner (i.e. | |
| template<typename OWNER> | |
| HistogramWrapperInternal (OWNER *owner, std::string const &name, std::string const &title, AxisType< ND >... allAxis) | |
| constructor with more natural syntax for axis | |
| auto | operator[] (typename HistogramType::AxisTupleArithmeticType v) |
| override of operator[] with extra checking that initialization happened | |
| template<typename OWNER> | |
| void | createHistogram (OWNER &owner) |
| creation of the internal histogram, from the properties | |
| void | setTitle (std::string const &title) |
| template<unsigned int N> | |
| void | setAxis (std::tuple_element_t< N, typename HistogramType::AxisTupleType > const &axis) |
| template<unsigned int N> | |
| auto & | axis () const |
| auto & | axis () const |
| void | reset () |
| auto | buffer () |
Private Member Functions | |
| std::string | basePropertyName () const |
| std::string | titlePropertyName () const |
| template<unsigned int N> | |
| std::string | axisPropertyName () const |
Private Attributes | |
| std::string | m_name {} |
| std::string | m_title {} |
| HistogramType::AxisTupleType | m_axis {} |
| std::optional< HistogramType > | m_histo {} |
Friends | |
| void | to_json (nlohmann::json &j, HistogramWrapperInternal const &h) |
Definition at line 43 of file HistogramWrapper.h.
| using Gaudi::Accumulators::HistogramWrapperInternal< HistogramType, std::integer_sequence< unsigned int, ND... > >::AxisArithmeticType = typename HistogramType::AxisArithmeticType |
Definition at line 46 of file HistogramWrapper.h.
| using Gaudi::Accumulators::HistogramWrapperInternal< HistogramType, std::integer_sequence< unsigned int, ND... > >::AxisTupleType = typename HistogramType::AxisTupleType |
Definition at line 45 of file HistogramWrapper.h.
| using Gaudi::Accumulators::HistogramWrapperInternal< HistogramType, std::integer_sequence< unsigned int, ND... > >::AxisType = std::tuple_element_t<I, AxisTupleType> |
Definition at line 49 of file HistogramWrapper.h.
| using Gaudi::Accumulators::HistogramWrapperInternal< HistogramType, std::integer_sequence< unsigned int, ND... > >::BufferType = typename HistogramType::BufferType |
Definition at line 47 of file HistogramWrapper.h.
|
inline |
constructor, only creates a set of Properties
Definition at line 53 of file HistogramWrapper.h.
|
inline |
constructor with const owner (i.e.
outside of constructor or initialize), equivalent to the StaticHistogram case (create immediately)
Definition at line 78 of file HistogramWrapper.h.
|
inline |
constructor with more natural syntax for axis
Definition at line 85 of file HistogramWrapper.h.
|
inline |
Definition at line 132 of file HistogramWrapper.h.
|
inline |
Definition at line 125 of file HistogramWrapper.h.
|
inlineprivate |
Definition at line 159 of file HistogramWrapper.h.
|
inlineprivate |
Definition at line 149 of file HistogramWrapper.h.
|
inline |
Definition at line 142 of file HistogramWrapper.h.
|
inline |
|
inlinenodiscard |
override of operator[] with extra checking that initialization happened
Definition at line 89 of file HistogramWrapper.h.
|
inline |
Definition at line 139 of file HistogramWrapper.h.
|
inline |
Definition at line 117 of file HistogramWrapper.h.
|
inline |
Definition at line 110 of file HistogramWrapper.h.
|
inlineprivate |
Definition at line 157 of file HistogramWrapper.h.
|
friend |
Definition at line 102 of file HistogramWrapper.h.
|
private |
Definition at line 166 of file HistogramWrapper.h.
|
private |
Definition at line 167 of file HistogramWrapper.h.
|
private |
Definition at line 164 of file HistogramWrapper.h.
|
private |
Definition at line 165 of file HistogramWrapper.h.