43 const std::vector<float>&
contents) {
89 if (
this != &trigHisto) {
104 if (
this != &trigHisto) {
138 for(
unsigned int ibin_x =
m_underflowBin_x; ibin_x <= ibin_x_selected; ibin_x++) {
143 for(
unsigned int ibin_x = ibin_x_selected; ibin_x <=
m_overflowBin_x; ibin_x++) {
void fill(float value_x, float weight)
Fill a 1D histogram.
TrigHisto1D & operator=(const TrigHisto1D &trigHisto)
Assignment operator.
virtual ~TrigHisto1D(void)
Destructor.
double sumEntries(float value_x, int cutType) const
Sum the number of entries within the cut range.
TrigHisto1D(void)
Default constructor used by T/P converters.
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.
std::vector< float > m_contents