Developer Documentation
ACG::HistogramT< T > Class Template Reference
Inheritance diagram for ACG::HistogramT< T >:
ACG::Histogram

Public Member Functions

 HistogramT (const std::vector< int > &histogram, const std::vector< T > &bin_boundaries, const std::vector< double > &bin_widths)
 
template<typename IterT >
 HistogramT (IterT begin, IterT end, size_t max_bins)
 
const std::vector< T > & getBinBoundaries () const
 
double getTotalWidth () const override
 
LabelType getLabelType () const override
 
QString getBoundaryLabel (size_t idx) const override
 
template<>
QString getBoundaryLabel (size_t idx) const
 
- Public Member Functions inherited from ACG::Histogram
const std::vector< size_t > & getBins () const
 
const std::vector< double > & getBinWidths () const
 
virtual QString getBinLabel (size_t) const
 

Private Attributes

std::vector< T > bin_boundaries_
 
double avg_bin_size_ = 0.0
 

Additional Inherited Members

- Public Types inherited from ACG::Histogram
enum  LabelType { PerBin, PerBoundary }
 
- Protected Attributes inherited from ACG::Histogram
std::vector< size_t > bins_
 
std::vector< double > bin_widths_
 

Detailed Description

template<typename T>
class ACG::HistogramT< T >

Definition at line 85 of file Histogram.hh.


The documentation for this class was generated from the following file: