The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Accumulators::details::FormatHistDefault Struct Reference

Default formating for histogram names and title, only calling fmt::format on the text given at construction and passing the histo index as argument. More...

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

Collaboration diagram for Gaudi::Accumulators::details::FormatHistDefault:

Public Member Functions

 FormatHistDefault (std::string_view t)
auto operator() (size_t n)

Public Attributes

std::string_view text

Detailed Description

Default formating for histogram names and title, only calling fmt::format on the text given at construction and passing the histo index as argument.

Definition at line 30 of file HistogramArray.h.

Constructor & Destructor Documentation

◆ FormatHistDefault()

Gaudi::Accumulators::details::FormatHistDefault::FormatHistDefault ( std::string_view t)
inline

Definition at line 32 of file HistogramArray.h.

Member Function Documentation

◆ operator()()

auto Gaudi::Accumulators::details::FormatHistDefault::operator() ( size_t n)
inline

Definition at line 33 of file HistogramArray.h.

33{ return fmt::format( fmt::runtime( text ), n ); }

Member Data Documentation

◆ text

std::string_view Gaudi::Accumulators::details::FormatHistDefault::text

Definition at line 31 of file HistogramArray.h.


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