Objects used to configure the different axis types.
It can store the properties of all possible axis types, together with the type of the axis.
RODO: that's what a variant will be invented for!
Definition at line 300 of file RAxis.hxx.
|
| RAxisConfig (const std::vector< double > &binborders) |
| Represents a RAxisIrregular with binborders . More...
|
|
| RAxisConfig (const std::vector< std::string_view > &labels) |
| Represents a RAxisLabels with labels . More...
|
|
| RAxisConfig (Grow_t, int nbins, double from, double to) |
| Represents a RAxisGrow with nbins from from to to . More...
|
|
| RAxisConfig (int nbins, double from, double to) |
| Represents a RAxisEquidistant with nbins from from to to . More...
|
|
| RAxisConfig (std::string_view title, const std::vector< double > &binborders) |
| Represents a RAxisIrregular with binborders and title. More...
|
|
| RAxisConfig (std::string_view title, const std::vector< std::string_view > &labels) |
| Represents a RAxisLabels with labels and title. More...
|
|
| RAxisConfig (std::string_view title, Grow_t, int nbins, double from, double to) |
| Represents a RAxisGrow with nbins from from to to , and axis title. More...
|
|
| RAxisConfig (std::string_view title, int nbins, double from, double to) |
| Represents a RAxisEquidistant with nbins from from to to , and axis title. More...
|
|
| RAxisConfig (std::string_view title, std::vector< double > &&binborders) noexcept |
| Represents a RAxisIrregular with binborders and title. More...
|
|
| RAxisConfig (std::string_view title, std::vector< std::string > &&labels) |
| Represents a RAxisLabels with labels and title. More...
|
|
| RAxisConfig (std::vector< double > &&binborders) noexcept |
| Represents a RAxisIrregular with binborders . More...
|
|
| RAxisConfig (std::vector< std::string > &&labels) |
| Represents a RAxisLabels with labels . More...
|
|
const std::vector< double > & | GetBinBorders () const noexcept |
| Get the bin borders; non-empty if the GetKind() == kIrregular. More...
|
|
const std::vector< std::string > & | GetBinLabels () const noexcept |
| Get the bin labels; non-empty if the GetKind() == kLabels. More...
|
|
EKind | GetKind () const noexcept |
| Get the axis kind represented by this RAxisConfig . More...
|
|
| RAxisBase (int nbinsNoOver, bool canGrow) noexcept |
| Construct a RAxisBase. More...
|
|
| RAxisBase (std::string_view title, int nbinsNoOver, bool canGrow) noexcept |
| Construct a RAxisBase. More...
|
|
int | GetNBins () const noexcept |
| Get the number of bins, including under- and overflow. More...
|
|
int | GetNBinsNoOver () const noexcept |
| Get the number of bins, excluding under- and overflow. More...
|
|
int | GetNOverflowBins () const noexcept |
| Get the number of over- and underflow bins: 0 for growable axes, 2 otherwise. More...
|
|
int | GetOverflowBin () const noexcept |
| Get the bin index for the underflow bin (or the next bin outside range if CanGrow()). More...
|
|
const std::string & | GetTitle () const |
|
int | GetUnderflowBin () const noexcept |
| Get the bin index for the underflow bin. More...
|
|
bool | IsOverflowBin (int bin) const noexcept |
| Whether the bin index is referencing a bin higher than the axis range. More...
|
|
bool | IsUnderflowBin (int bin) const noexcept |
| Whether the bin index is referencing a bin lower 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...
|
|