The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Accumulators::details::HistogramArrayInternal< Histo, N > Struct Template Reference

internal class implementing an "array" of histograms More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators/HistogramArray.h>

Inheritance diagram for Gaudi::Accumulators::details::HistogramArrayInternal< Histo, N >:
Collaboration diagram for Gaudi::Accumulators::details::HistogramArrayInternal< Histo, N >:

Public Member Functions

template<typename OWNER, std::invocable< int > FormatName, std::invocable< int > FormatTitle>
 HistogramArrayInternal (OWNER *owner, FormatName &&fname, FormatTitle &&ftitle, typename Histo::AxisTupleType &&allAxis)
 constructor with callables for FormatName and FormatTitle
template<typename OWNER>
 HistogramArrayInternal (OWNER *owner, std::string_view name, std::string_view title, typename Histo::AxisTupleType &&allAxis)
 constructor for strings, FormatHistDefault is used as the default callable

Detailed Description

template<typename Histo, std::size_t N>
struct Gaudi::Accumulators::details::HistogramArrayInternal< Histo, N >

internal class implementing an "array" of histograms

The internal implementation uses boost::container::static_vector

See also
HistogramArray

Definition at line 43 of file HistogramArray.h.

Constructor & Destructor Documentation

◆ HistogramArrayInternal() [1/2]

template<typename Histo, std::size_t N>
template<typename OWNER, std::invocable< int > FormatName, std::invocable< int > FormatTitle>
Gaudi::Accumulators::details::HistogramArrayInternal< Histo, N >::HistogramArrayInternal ( OWNER * owner,
FormatName && fname,
FormatTitle && ftitle,
typename Histo::AxisTupleType && allAxis )
inline

constructor with callables for FormatName and FormatTitle

Definition at line 46 of file HistogramArray.h.

47 {
48 for ( std::size_t i = 0; i < N; i++ ) { this->emplace_back( owner, fname( i ), ftitle( i ), allAxis ); }
49 }
internal class implementing an "array" of histograms

◆ HistogramArrayInternal() [2/2]

template<typename Histo, std::size_t N>
template<typename OWNER>
Gaudi::Accumulators::details::HistogramArrayInternal< Histo, N >::HistogramArrayInternal ( OWNER * owner,
std::string_view name,
std::string_view title,
typename Histo::AxisTupleType && allAxis )
inline

constructor for strings, FormatHistDefault is used as the default callable

Definition at line 52 of file HistogramArray.h.

53 {
54 for ( std::size_t i = 0; i < N; i++ ) {
56 }
57 }

The documentation for this struct was generated from the following file: