5#ifndef TRIGINDETEVENT_TRIGHISTO_H
6#define TRIGINDETEVENT_TRIGHISTO_H
70 unsigned int findBin(
unsigned int nbins,
71 float h_min,
float h_max,
float binSize,
float max_x() const
Return the maximum along the x-axis.
unsigned int m_underflowBin_x
unsigned int m_overflowBin_x
unsigned int findBin(unsigned int nbins, float h_min, float h_max, float binSize, float value) const
float min_x() const
Return the minimum along the x-axis.
TrigHisto & operator=(TrigHisto &&)=default
unsigned int nbins_x(void) const
Return the number of bins along the y-axis, not including the under and overflow.
TrigHisto(TrigHisto &&)=default
User declared d'tor means we have to explicitly enable move operations.
const std::vector< float > & contents() const
Return the bin contents of the histogram, including the under and overflow bins.
void clear(void)
Zero all histogram bins.
virtual ~TrigHisto()=default
std::vector< float > m_contents