A variant of all supported axis types.
This class provides easy access to the contained axis object and dispatching methods for common accessors.
Definition at line 30 of file RAxisVariant.hxx.
Public Types | |
| using | VariantType = std::variant<RRegularAxis, RVariableBinAxis, RCategoricalAxis> |
Public Member Functions | |
| RAxisVariant (RCategoricalAxis axis) | |
| RAxisVariant (RRegularAxis axis) | |
| RAxisVariant (RVariableBinAxis axis) | |
| RAxisVariant (VariantType axis) | |
| const RCategoricalAxis * | GetCategoricalAxis () const |
| RBinIndexRange | GetFullRange () const |
| Get the full range of all bins. | |
| std::uint64_t | GetNNormalBins () const |
| RBinIndexRange | GetNormalRange () const |
| Get the range of all normal bins. | |
| RBinIndexRange | GetNormalRange (RBinIndex begin, RBinIndex end) const |
| Get a range of normal bins. | |
| const RRegularAxis * | GetRegularAxis () const |
| std::uint64_t | GetTotalNBins () const |
| const RVariableBinAxis * | GetVariableBinAxis () const |
| const VariantType & | GetVariant () const |
| void | Streamer (TBuffer &) |
| ROOT Streamer function to throw when trying to store an object of this class. | |
Private Attributes | |
| VariantType | fVariant |
Friends | |
| bool | operator== (const RAxisVariant &lhs, const RAxisVariant &rhs) |
#include <ROOT/RAxisVariant.hxx>
| using ROOT::Experimental::RAxisVariant::VariantType = std::variant<RRegularAxis, RVariableBinAxis, RCategoricalAxis> |
Definition at line 32 of file RAxisVariant.hxx.
|
inline |
Definition at line 38 of file RAxisVariant.hxx.
|
inline |
Definition at line 39 of file RAxisVariant.hxx.
|
inline |
Definition at line 40 of file RAxisVariant.hxx.
|
inline |
Definition at line 41 of file RAxisVariant.hxx.
|
inline |
Definition at line 50 of file RAxisVariant.hxx.
|
inline |
Get the full range of all bins.
This includes underflow and overflow bins, if enabled.
Definition at line 117 of file RAxisVariant.hxx.
|
inline |
Definition at line 52 of file RAxisVariant.hxx.
|
inline |
Get the range of all normal bins.
Definition at line 81 of file RAxisVariant.hxx.
|
inline |
Get a range of normal bins.
| [in] | begin | the begin of the bin index range (inclusive), must be normal |
| [in] | end | the end of the bin index range (exclusive), must be normal and >= begin |
Definition at line 99 of file RAxisVariant.hxx.
|
inline |
Definition at line 46 of file RAxisVariant.hxx.
|
inline |
Definition at line 65 of file RAxisVariant.hxx.
|
inline |
Definition at line 48 of file RAxisVariant.hxx.
|
inline |
Definition at line 43 of file RAxisVariant.hxx.
|
inline |
ROOT Streamer function to throw when trying to store an object of this class.
Definition at line 133 of file RAxisVariant.hxx.
|
friend |
Definition at line 130 of file RAxisVariant.hxx.
|
private |
Definition at line 35 of file RAxisVariant.hxx.