tttrlib
A library for time-tagged time resolved data
Loading...
Searching...
No Matches
Public Member Functions | List of all members
HistogramAxis< T > Class Template Reference

#include <HistogramAxis.h>

Public Member Functions

void update ()
 
void setAxisType (const std::string &axis_type)
 
int getNumberOfBins ()
 
int getBinIdx (T value)
 
T * getBins ()
 
void getBins (T *bin_edges, int n_bins)
 
const std::string & getName () const
 
void setName (const std::string &name)
 
 HistogramAxis ()=default
 
 HistogramAxis (std::string name, T begin, T end, int n_bins, std::string axis_type)
 

Constructor & Destructor Documentation

◆ HistogramAxis() [1/2]

template<class T >
HistogramAxis< T >::HistogramAxis ( )
default

◆ HistogramAxis() [2/2]

template<class T >
HistogramAxis< T >::HistogramAxis ( std::string name,
T begin,
T end,
int n_bins,
std::string axis_type )
inline

Member Function Documentation

◆ getBinIdx()

template<class T >
int HistogramAxis< T >::getBinIdx ( T value)
inline

◆ getBins() [1/2]

template<class T >
T * HistogramAxis< T >::getBins ( )
inline

◆ getBins() [2/2]

template<class T >
void HistogramAxis< T >::getBins ( T * bin_edges,
int n_bins )
inline

◆ getName()

template<class T >
const std::string & HistogramAxis< T >::getName ( ) const
inline

◆ getNumberOfBins()

template<class T >
int HistogramAxis< T >::getNumberOfBins ( )
inline

◆ setAxisType()

template<class T >
void HistogramAxis< T >::setAxisType ( const std::string & axis_type)
inline

◆ setName()

template<class T >
void HistogramAxis< T >::setName ( const std::string & name)
inline

◆ update()

template<class T >
void HistogramAxis< T >::update ( )
inline

Recalculates the bin edges of the axis


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