ROOT 6.14/05 Reference Guide |
Public Member Functions | |
TAxisView ()=default | |
TAxisView (const TAxisEquidistant &equi) | |
Construct a view on a TAxisEquidistant , TAxisGrow or TAxisLabel . More... | |
TAxisView (const TAxisIrregular &irr) | |
Construct a view on a TAxisIrregular . More... | |
int | FindBin (double x) const noexcept |
Find the bin containing coordinate x . Forwards to the underlying axis. More... | |
const TAxisEquidistant * | GetAsEquidistant () const |
Get the axis as a TAxisEquidistant; returns nullptr if it's a TAxisIrregular. More... | |
const TAxisIrregular * | GetAsIrregular () const |
Get the axis as a TAxisIrregular; returns nullptr if it's a TAxisEquidistant. 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 TAxisEquidistant * | fEqui = nullptr |
View on a TAxisEquidistant , TAxisGrow or TAxisLabel . More... | |
const TAxisIrregular * | fIrr = nullptr |
View on a TAxisIrregular . More... | |
#include <ROOT/TAxis.hxx>
|
default |
|
inline |
Construct a view on a TAxisEquidistant
, TAxisGrow
or TAxisLabel
.
|
inline |
Construct a view on a TAxisIrregular
.
|
inlinenoexcept |
|
inline |
Get the axis as a TAxisEquidistant; returns nullptr if it's a TAxisIrregular.
|
inline |
Get the axis as a TAxisIrregular; returns nullptr if it's a TAxisEquidistant.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
private |
View on a TAxisEquidistant
, TAxisGrow
or TAxisLabel
.
|
private |
View on a TAxisIrregular
.