|
ROOT 6.18/05 Reference Guide |
Public Member Functions | |
| RAxisView ()=default | |
| RAxisView (const RAxisEquidistant &equi) | |
Construct a view on a RAxisEquidistant, RAxisGrow or RAxisLabel. More... | |
| RAxisView (const RAxisIrregular &irr) | |
Construct a view on a RAxisIrregular. More... | |
| int | FindBin (double x) const noexcept |
Find the bin containing coordinate x. Forwards to the underlying axis. More... | |
| const RAxisEquidistant * | GetAsEquidistant () const |
| Get the axis as a RAxisEquidistant; returns nullptr if it's a RAxisIrregular. More... | |
| const RAxisIrregular * | GetAsIrregular () const |
| Get the axis as a RAxisIrregular; returns nullptr if it's a RAxisEquidistant. More... | |
| double | GetBinCenter (int i) const noexcept |
Get the bin center of bin index i. Forwards to the underlying axis. More... | |
| double | GetBinFrom (int i) const noexcept |
Get the minimal coordinate of bin index i. Forwards to the underlying axis. More... | |
| double | GetBinTo (int i) const noexcept |
Get the maximal coordinate of bin index i. Forwards to the underlying axis. More... | |
| double | GetFrom () const |
| Get the lower axis limit. More... | |
| int | GetNBins () const noexcept |
| Get the number of bins. Forwards to the underlying axis. More... | |
| const std::string & | GetTitle () const |
| double | GetTo () const |
| Get the upper axis limit. More... | |
Private Attributes | |
| const RAxisEquidistant * | fEqui = nullptr |
View on a RAxisEquidistant, RAxisGrow or RAxisLabel. More... | |
| const RAxisIrregular * | fIrr = nullptr |
View on a RAxisIrregular. More... | |
#include <ROOT/RAxis.hxx>
|
default |
|
inline |
Construct a view on a RAxisEquidistant, RAxisGrow or RAxisLabel.
|
inline |
Construct a view on a RAxisIrregular.
|
inlinenoexcept |
|
inline |
Get the axis as a RAxisEquidistant; returns nullptr if it's a RAxisIrregular.
|
inline |
Get the axis as a RAxisIrregular; returns nullptr if it's a RAxisEquidistant.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
private |
View on a RAxisEquidistant, RAxisGrow or RAxisLabel.
|
private |
View on a RAxisIrregular.