![]() |
ATLAS Offline Software
|
#include <HistHandler.h>
Public Member Functions | |
| double | GetBinContent (int bin) const |
| void | SetBinContent (int bin, float val) |
| double | GetBinError (int bin) const |
| TH1 * | GetHist () const |
| void | SetBinError (int bin, float val) |
| virtual CorrectionCode | FindBin (columnar::MuonId muon, int &bin) const =0 |
| Function that changes from Implementation to implementation. | |
| virtual int | nBins () const =0 |
| Return the total number of bins in the histogram -> (GetNbins() +2)**n. | |
| virtual int | nOverFlowBins () const =0 |
| Return the number of overflow bins. | |
| virtual bool | isOverFlowBin (int b) const =0 |
| States whether a bin is overflow or not. | |
| virtual std::string | GetBinName (unsigned int bin) const =0 |
| Translates the bin number into the borders and return them as name. | |
| virtual | ~HistHandler () |
Protected Member Functions | |
| HistHandler (columnar::ColumnarTool<> *parent, TH1 *Hist) | |
| HistHandler (const HistHandler &other)=delete | |
| HistHandler & | operator= (const HistHandler &other)=delete |
Private Attributes | |
| std::unique_ptr< TH1 > | m_H |
Definition at line 42 of file HistHandler.h.
|
virtual |
Definition at line 138 of file HistHandler.cxx.
|
protected |
Definition at line 122 of file HistHandler.cxx.
|
protecteddelete |
|
pure virtual |
Function that changes from Implementation to implementation.
Implemented in CP::HistHandler_TH1, CP::HistHandler_TH2, CP::HistHandler_TH2Poly, and CP::HistHandler_TH3.
Definition at line 51 of file HistHandler.h.
Definition at line 58 of file HistHandler.h.
Translates the bin number into the borders and return them as name.
Implemented in CP::HistHandler_TH1, CP::HistHandler_TH2, CP::HistHandler_TH2Poly, and CP::HistHandler_TH3.
|
inline |
Definition at line 63 of file HistHandler.h.
States whether a bin is overflow or not.
Implemented in CP::HistHandler_TH1, CP::HistHandler_TH2, CP::HistHandler_TH2Poly, and CP::HistHandler_TH3.
|
pure virtual |
Return the total number of bins in the histogram -> (GetNbins() +2)**n.
Implemented in CP::HistHandler_TH1, CP::HistHandler_TH2, CP::HistHandler_TH2Poly, and CP::HistHandler_TH3.
|
pure virtual |
Return the number of overflow bins.
Implemented in CP::HistHandler_TH1, CP::HistHandler_TH2, CP::HistHandler_TH2Poly, and CP::HistHandler_TH3.
|
protecteddelete |
Definition at line 140 of file HistHandler.cxx.
Definition at line 145 of file HistHandler.cxx.
|
private |
Definition at line 86 of file HistHandler.h.