![]() |
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. More... | |
virtual int | nBins () const =0 |
Return the total number of bins in the histogram -> (GetNbins() +2)**n. More... | |
virtual int | nOverFlowBins () const =0 |
Return the number of overflow bins. More... | |
virtual bool | isOverFlowBin (int b) const =0 |
States whether a bin is overflow or not. More... | |
virtual std::string | GetBinName (unsigned int bin) const =0 |
Translates the bin number into the borders and return them as name. More... | |
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_TH2Poly, CP::HistHandler_TH3, CP::HistHandler_TH2, and CP::HistHandler_TH1.
|
inline |
Definition at line 51 of file HistHandler.h.
|
inline |
Definition at line 58 of file HistHandler.h.
|
pure virtual |
Translates the bin number into the borders and return them as name.
Implemented in CP::HistHandler_TH2Poly, CP::HistHandler_TH3, CP::HistHandler_TH2, and CP::HistHandler_TH1.
|
inline |
Definition at line 63 of file HistHandler.h.
|
pure virtual |
States whether a bin is overflow or not.
Implemented in CP::HistHandler_TH2Poly, CP::HistHandler_TH3, CP::HistHandler_TH2, and CP::HistHandler_TH1.
|
pure virtual |
Return the total number of bins in the histogram -> (GetNbins() +2)**n.
Implemented in CP::HistHandler_TH2Poly, CP::HistHandler_TH3, CP::HistHandler_TH2, and CP::HistHandler_TH1.
|
pure virtual |
Return the number of overflow bins.
Implemented in CP::HistHandler_TH2Poly, CP::HistHandler_TH3, CP::HistHandler_TH2, and CP::HistHandler_TH1.
|
protecteddelete |
void HistHandler::SetBinContent | ( | int | bin, |
float | val | ||
) |
void HistHandler::SetBinError | ( | int | bin, |
float | val | ||
) |
|
private |
Definition at line 86 of file HistHandler.h.