Go to the documentation of this file.
13 #include <type_traits>
34 unsigned int index(
Category value )
const {
return static_cast<unsigned int>( value ) + 1; }
39 namespace Directories {
48 mutable MyHist_t m_hist3{
this,
"Group/SubGroup/Third",
"Third title", { 1, 0, 1 } };
63 mutable MyHist_t m_hist0{
this,
"Top",
"Top title", { 1, 0, 1 } };
64 mutable MyHist_t m_hist1{
this,
"Group/First",
"First title", { 1, 0, 1 } };
65 mutable MyHist_t m_hist2{
this,
"Group/Second",
"Second title", { 1, 0, 1 } };
66 mutable MyHist_t m_hist3{
this,
"Group/SubGroup/Third",
"Third title", { 1, 0, 1 } };
80 namespace AxesLabels {
88 this,
"hist",
"Histogram title", { 5, 0, 5,
"axis title", {
"a",
"b",
"c",
"d",
"e" } } };
91 for (
int i : { 1, 2, 3, 4, 5 } )
m_hist[i - 1] += i;
96 namespace CustomAxis {
Arithmetic minValue
min and max values on this axis
details::Consumer< Signature, Traits_, details::isLegacy< Traits_ > > Consumer
unsigned int nBins
number of bins for this Axis
unsigned int index(Category value) const
Definition of an Histogram Axis.
void operator()() const override
Gaudi::Accumulators::Histogram< 1, Gaudi::Accumulators::atomicity::full, Category > m_hist
void operator()() const override
Header file for std:chrono::duration-based Counters.
void operator()() const override
#define DECLARE_COMPONENT(type)
A base counter dealing with Histograms.
std::string title
title of this axis
std::vector< std::string > labels
labels for the bins