![]() |
Project
|
#include <HistogramSpec.h>
Public Member Functions | |
AxisSpec (std::vector< double > binEdges_, std::optional< std::string > title_=std::nullopt, std::optional< std::string > name_=std::nullopt) | |
AxisSpec (int nBins_, double binMin_, double binMax_, std::optional< std::string > title_=std::nullopt, std::optional< std::string > name_=std::nullopt) | |
AxisSpec (ConfigurableAxis binEdges_, std::optional< std::string > title_=std::nullopt, std::optional< std::string > name_=std::nullopt) | |
long | getNbins () const |
void | makeLogarithmic () |
Function to make the axis logarithmic. | |
Public Attributes | |
std::optional< int > | nBins {} |
Data members. | |
std::vector< double > | binEdges {} |
Number of bins (only used for fixed bin width axis) | |
std::optional< std::string > | title {} |
Edges of the bin. For fixed bin width these are the limits of the binning. | |
std::optional< std::string > | name {} |
Optional title of the axis. | |
Definition at line 83 of file HistogramSpec.h.
|
inline |
Definition at line 84 of file HistogramSpec.h.
|
inline |
Definition at line 92 of file HistogramSpec.h.
|
inline |
Definition at line 104 of file HistogramSpec.h.
long o2::framework::AxisSpec::getNbins | ( | ) | const |
Definition at line 43 of file HistogramSpec.cxx.
void o2::framework::AxisSpec::makeLogarithmic | ( | ) |
Function to make the axis logarithmic.
Definition at line 18 of file HistogramSpec.cxx.
std::vector<double> o2::framework::AxisSpec::binEdges {} |
Number of bins (only used for fixed bin width axis)
Definition at line 127 of file HistogramSpec.h.
std::optional<std::string> o2::framework::AxisSpec::name {} |
Optional title of the axis.
Definition at line 129 of file HistogramSpec.h.
std::optional<int> o2::framework::AxisSpec::nBins {} |
Data members.
Definition at line 126 of file HistogramSpec.h.
std::optional<std::string> o2::framework::AxisSpec::title {} |
Edges of the bin. For fixed bin width these are the limits of the binning.
Definition at line 128 of file HistogramSpec.h.