![]() |
The Gaudi Framework
v36r1 (3e2fb5a8)
|
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={}) | |
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 132 of file Histogram.h.
|
inline |
|
inline |
returns the bin number for a given value, ranging from 0 (underflow) to nBins+1 (overflow)
Definition at line 156 of file Histogram.h.
std::vector<std::string> Gaudi::Accumulators::Axis< Arithmetic >::labels |
labels for the bins
Definition at line 148 of file Histogram.h.
Arithmetic Gaudi::Accumulators::Axis< Arithmetic >::maxValue |
Definition at line 144 of file Histogram.h.
Arithmetic Gaudi::Accumulators::Axis< Arithmetic >::minValue |
min and max values on this axis
Definition at line 144 of file Histogram.h.
unsigned int Gaudi::Accumulators::Axis< Arithmetic >::nBins |
number of bins for this Axis
Definition at line 142 of file Histogram.h.
Arithmetic Gaudi::Accumulators::Axis< Arithmetic >::ratio |
precomputed ratio to convert a value into bin number equal to nBins/(maxValue-minValue)
Definition at line 153 of file Histogram.h.
std::string Gaudi::Accumulators::Axis< Arithmetic >::title |
title of this axis
Definition at line 146 of file Histogram.h.