EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dfe::UniformAxis< T > Class Template Reference

Uniform binning without under/overflow bins. More...

#include <acts/blob/sPHENIX/thirdparty/dfelibs/dfe/dfe_histogram.hpp>

+ Collaboration diagram for dfe::UniformAxis< T >:

Public Types

using Value = T
 

Public Member Functions

 UniformAxis (T lower, T upper, std::size_t nbins)
 
constexpr std::size_t nbins () const
 Total number of bins along this axis including under/overflow bins.
 
std::size_t index (T value) const
 Compute bin number for a test value.
 

Private Attributes

std::size_t m_nbins
 
T m_lower
 
T m_upper
 

Detailed Description

template<typename T>
class dfe::UniformAxis< T >

Uniform binning without under/overflow bins.

Definition at line 85 of file dfe_histogram.hpp.

View newest version in sPHENIX GitHub at line 85 of file dfe_histogram.hpp

Member Typedef Documentation

template<typename T >
using dfe::UniformAxis< T >::Value = T

Definition at line 87 of file dfe_histogram.hpp.

View newest version in sPHENIX GitHub at line 87 of file dfe_histogram.hpp

Constructor & Destructor Documentation

template<typename T >
dfe::UniformAxis< T >::UniformAxis ( T  lower,
T  upper,
std::size_t  nbins 
)
inline
Parameters
lowerLower inclusive boundary
upperUpper exclusive boundary
nbinsNumber of data bins within those boundaries

Definition at line 248 of file dfe_histogram.hpp.

View newest version in sPHENIX GitHub at line 248 of file dfe_histogram.hpp

Member Function Documentation

template<typename T >
std::size_t dfe::UniformAxis< T >::index ( T  value) const
inline

Compute bin number for a test value.

Definition at line 253 of file dfe_histogram.hpp.

View newest version in sPHENIX GitHub at line 253 of file dfe_histogram.hpp

template<typename T >
constexpr std::size_t dfe::UniformAxis< T >::nbins ( ) const
inline

Total number of bins along this axis including under/overflow bins.

Definition at line 95 of file dfe_histogram.hpp.

View newest version in sPHENIX GitHub at line 95 of file dfe_histogram.hpp

References dfe::UniformAxis< T >::m_nbins.

Member Data Documentation

template<typename T >
T dfe::UniformAxis< T >::m_lower
private

Definition at line 101 of file dfe_histogram.hpp.

View newest version in sPHENIX GitHub at line 101 of file dfe_histogram.hpp

template<typename T >
std::size_t dfe::UniformAxis< T >::m_nbins
private

Definition at line 100 of file dfe_histogram.hpp.

View newest version in sPHENIX GitHub at line 100 of file dfe_histogram.hpp

Referenced by dfe::UniformAxis< T >::nbins().

template<typename T >
T dfe::UniformAxis< T >::m_upper
private

Definition at line 102 of file dfe_histogram.hpp.

View newest version in sPHENIX GitHub at line 102 of file dfe_histogram.hpp


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