![]() |
The Gaudi Framework
v37r1 (a7f61348)
|
Definition of an Histogram Axis. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators/Histogram.h>
Public Member Functions | |
Axis (unsigned int _nBins, Arithmetic _minValue, Arithmetic _maxValue, std::string _title={}, std::vector< std::string > _labels={}) | |
Axis (Gaudi::Histo1DDef const &def) | |
unsigned int | index (Arithmetic value) const |
returns the bin number for a given value, ranging from 0 (underflow) to nBins+1 (overflow) More... | |
Public Attributes | |
unsigned int | nBins |
number of bins for this Axis More... | |
Arithmetic | minValue |
min and max values on this axis More... | |
Arithmetic | maxValue |
std::string | title |
title of this axis More... | |
std::vector< std::string > | labels |
labels for the bins More... | |
Arithmetic | ratio |
precomputed ratio to convert a value into bin number equal to nBins/(maxValue-minValue). More... | |
Definition of an Histogram Axis.
Definition at line 154 of file Histogram.h.
|
inline |
Definition at line 155 of file Histogram.h.
|
inlineexplicit |
Definition at line 166 of file Histogram.h.
|
inline |
returns the bin number for a given value, ranging from 0 (underflow) to nBins+1 (overflow)
Definition at line 183 of file Histogram.h.
std::vector<std::string> Gaudi::Accumulators::Axis< Arithmetic >::labels |
labels for the bins
Definition at line 175 of file Histogram.h.
Arithmetic Gaudi::Accumulators::Axis< Arithmetic >::maxValue |
Definition at line 171 of file Histogram.h.
Arithmetic Gaudi::Accumulators::Axis< Arithmetic >::minValue |
min and max values on this axis
Definition at line 171 of file Histogram.h.
unsigned int Gaudi::Accumulators::Axis< Arithmetic >::nBins |
number of bins for this Axis
Definition at line 169 of file Histogram.h.
Arithmetic Gaudi::Accumulators::Axis< Arithmetic >::ratio |
precomputed ratio to convert a value into bin number equal to nBins/(maxValue-minValue).
Only used for floating Arithmetic
Definition at line 180 of file Histogram.h.
std::string Gaudi::Accumulators::Axis< Arithmetic >::title |
title of this axis
Definition at line 173 of file Histogram.h.