|
ATLAS Offline Software
|
Go to the documentation of this file.
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++) {
unsigned int m_overflowBin_x
float min_x(void) const
Return the minimum along the x-axis.
The base class for TrigHisto1D and TrigHisto2D. This class should never be stored or used directly.
A very basic one dimensional histogram to provide storage of HLT distributions, allowing constraints ...
float max_x(void) const
Return the maximum along the x-axis.
std::vector< float > m_contents
TrigHisto1D & operator=(const TrigHisto1D &trigHisto)
Assignment operator.
void contents(std::vector< std::string > &keys, TDirectory *td, const std::string &directory, const std::string &pattern, const std::string &path)
const std::vector< float > & contents(void) const
Return the bin contents of the histogram, including the under and overflow bins.
void fill(float value_x, float weight)
Fill a 1D histogram.
unsigned int findBin(unsigned int nbins, float h_min, float h_max, float binSize, float value) const
double sumEntries(float value_x, int cutType) const
Sum the number of entries within the cut range.
virtual ~TrigHisto1D(void)
Destructor.
unsigned int m_underflowBin_x
TrigHisto1D(void)
Default constructor used by T/P converters.
unsigned int nbins_x(void) const
Return the number of bins along the y-axis, not including the under and overflow.