Developer Documentation
|
Public Member Functions | |
HistogramT (std::vector< size_t > &&histogram, std::vector< T > &&bin_boundaries, std::vector< double > &&bin_widths) | |
const std::vector< T > & | getBinBoundaries () const |
double | getTotalWidth () const override |
LabelType | getLabelType () const override |
QString | getBoundaryLabel (size_t idx) const override |
![]() | |
Histogram (std::vector< size_t > &&bins, std::vector< double > &&bin_widths) | |
const std::vector< size_t > & | getBins () const |
const std::vector< double > & | getBinWidths () const |
virtual double | getTotalWidth () const =0 |
virtual LabelType | getLabelType () const =0 |
virtual QString | getBoundaryLabel (size_t) const |
virtual QString | getBinLabel (size_t) const |
Private Attributes | |
std::vector< T > | bin_boundaries_ |
Additional Inherited Members | |
![]() | |
enum class | LabelType { PerBin , PerBoundary } |
![]() | |
std::vector< size_t > | bins_ |
std::vector< double > | bin_widths_ |
Definition at line 117 of file Histogram.hh.
|
inline |
Definition at line 121 of file Histogram.hh.
|
inline |
Definition at line 134 of file Histogram.hh.
|
inlineoverridevirtual |
Reimplemented from ACG::Histogram.
Definition at line 148 of file Histogram.hh.
|
inlineoverridevirtual |
Implements ACG::Histogram.
Definition at line 143 of file Histogram.hh.
|
inlineoverridevirtual |
Implements ACG::Histogram.
Definition at line 138 of file Histogram.hh.
|
private |
Definition at line 156 of file Histogram.hh.