|
| TAxisLabels (const std::vector< std::string_view > &labels) |
| Construct a TAxisLables from a vector of string_view s. More...
|
|
| TAxisLabels (const std::vector< std::string > &labels) |
| Construct a TAxisLables from a vector of string s. More...
|
|
int | GetBinIndex (const std::string &label) |
| Get the bin index with label. More...
|
|
double | GetBinCenter (const std::string &label) |
| Get the center of the bin with label. More...
|
|
std::vector< std::string_view > | GetBinLabels () const |
| Build a vector of labels. The position in the vector defines the label's bin. More...
|
|
constexpr | TAxisGrow (int nbins, double low, double high) noexcept |
| Initialize a TAxisGrow. More...
|
|
int | Grow (int toBin) |
| Grow this axis to make the "virtual bin" toBin in-range. More...
|
|
constexpr bool | CanGrow () const |
| This axis kind can increase its range. More...
|
|
| TAxisEquidistant ()=default |
|
constexpr | TAxisEquidistant (int nbins, double low, double high) noexcept |
| Initialize a TAxisEquidistant. More...
|
|
constexpr int | FindBin (double x) const noexcept |
| Find the bin index for the given coordinate. More...
|
|
double | GetMinimum () const noexcept |
| Get the low end of the axis range. More...
|
|
double | GetMaximum () const noexcept |
| Get the high end of the axis range. More...
|
|
double | GetBinWidth () const noexcept |
| Get the width of the bins. More...
|
|
double | GetInverseBinWidth () const noexcept |
| Get the inverse of the width of the bins. More...
|
|
double | GetBinCenter (int bin) const noexcept |
| Get the bin center for the given bin index. More...
|
|
double | GetBinFrom (int bin) const noexcept |
| Get the low bin border for the given bin index. More...
|
|
double | GetBinTo (int bin) const noexcept |
| Get the high bin border for the given bin index. More...
|
|
int | GetBinIndexForLowEdge (double x) const noexcept |
| If the coordinate x is a bin low edge (within 1E-6 of the coordinate), return the bin for which this is a low edge. More...
|
|
constexpr | TAxisBase (int nbins) noexcept |
| Construct a TAxisBase. More...
|
|
constexpr int | GetNBinsNoOver () const noexcept |
| Get the number of bins, excluding under- and overflow. More...
|
|
constexpr int | GetNBins () const noexcept |
| Get the number of bins, including under- and overflow. More...
|
|
constexpr int | GetUnderflowBin () const noexcept |
| Get the bin index for the underflow bin. More...
|
|
constexpr int | GetOverflowBin () const noexcept |
| Get the bin index for the underflow bin. More...
|
|
constexpr bool | IsUnderflowBin (int bin) const noexcept |
| Whether the bin index is referencing a bin lower than the axis range. More...
|
|
constexpr bool | IsOverflowBin (int bin) const noexcept |
| Whether the bin index is referencing a bin higher than the axis range. More...
|
|
const_iterator | begin () const noexcept |
| Get a const_iterator pointing to the first non-underflow bin. More...
|
|
const_iterator | begin_with_underflow () const noexcept |
| Get a const_iterator pointing the underflow bin. More...
|
|
const_iterator | end () const noexcept |
| Get a const_iterator pointing right beyond the last non-overflow bin (i.e. More...
|
|
const_iterator | end_with_overflow () const noexcept |
| Get a const_iterator pointing right beyond the overflow bin. More...
|
|