![]() |
ATLAS Offline Software
|
The base class for TrigHisto1D and TrigHisto2D. This class should never be stored or used directly. More...
#include <TrigHisto.h>
Public Member Functions | |
| TrigHisto ()=default | |
| TrigHisto (TrigHisto &&)=default | |
| User declared d'tor means we have to explicitly enable move operations. | |
| TrigHisto & | operator= (TrigHisto &&)=default |
| virtual | ~TrigHisto ()=default |
| void | clear (void) |
| Zero all histogram bins. | |
| unsigned int | nbins_x (void) const |
| Return the number of bins along the y-axis, not including the under and overflow. | |
| float | min_x () const |
| Return the minimum along the x-axis. | |
| float | max_x () const |
| Return the maximum along the x-axis. | |
| const std::vector< float > & | contents () const |
| Return the bin contents of the histogram, including the under and overflow bins. | |
Protected Member Functions | |
| unsigned int | findBin (unsigned int nbins, float h_min, float h_max, float binSize, float value) const |
Protected Attributes | |
| std::vector< float > | m_contents |
| unsigned int | m_nbins_x {} |
| unsigned int | m_underflowBin_x {} |
| unsigned int | m_overflowBin_x {} |
| float | m_min_x {} |
| float | m_max_x {} |
| float | m_binSize_x {} |
The base class for TrigHisto1D and TrigHisto2D. This class should never be stored or used directly.
Definition at line 32 of file TrigHisto.h.
|
default |
|
default |
User declared d'tor means we have to explicitly enable move operations.
|
virtualdefault |
| void TrigHisto::clear | ( | void | ) |
|
inline |
Return the bin contents of the histogram, including the under and overflow bins.
Definition at line 61 of file TrigHisto.h.
|
protected |
Definition at line 21 of file TrigHisto.cxx.
|
inline |
Return the maximum along the x-axis.
Definition at line 55 of file TrigHisto.h.
|
inline |
Return the minimum along the x-axis.
Definition at line 50 of file TrigHisto.h.
|
inline |
Return the number of bins along the y-axis, not including the under and overflow.
Definition at line 45 of file TrigHisto.h.
|
protected |
Definition at line 82 of file TrigHisto.h.
|
protected |
Definition at line 74 of file TrigHisto.h.
|
protected |
Definition at line 81 of file TrigHisto.h.
|
protected |
Definition at line 80 of file TrigHisto.h.
|
protected |
Definition at line 77 of file TrigHisto.h.
|
protected |
Definition at line 79 of file TrigHisto.h.
|
protected |
Definition at line 78 of file TrigHisto.h.