5#ifndef TRIGINDETEVENT_TRIGHISTO1D_H
6#define TRIGINDETEVENT_TRIGHISTO1D_H
48 void fill(
float value_x,
float weight);
51 double sumEntries(
float value_x,
int cutType)
const;
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
A very basic one dimensional histogram to provide storage of HLT distributions, allowing constraints ...
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.
float max_x(void) const
Return the maximum along the x-axis.
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.