5#ifndef TRIGINDETEVENT_TRIGHISTO_H
6#define TRIGINDETEVENT_TRIGHISTO_H
58 const std::vector<float>&
contents(
void)
const {
67 unsigned int findBin(
unsigned int nbins,
68 float h_min,
float h_max,
float binSize,
72 std::vector<float>::iterator
m_itr{};
unsigned int m_underflowBin_x
unsigned int m_overflowBin_x
float max_x(void) const
Return the maximum along the x-axis.
unsigned int findBin(unsigned int nbins, float h_min, float h_max, float binSize, float value) const
float min_x(void) const
Return the minimum along the x-axis.
unsigned int nbins_x(void) const
Return the number of bins along the y-axis, not including the under and overflow.
const std::vector< float > & contents(void) const
Return the bin contents of the histogram, including the under and overflow bins.
void clear(void)
Zero all histogram bins.
std::vector< float >::iterator m_itr
std::vector< float >::iterator m_itr_end
std::vector< float > m_contents