![]() |
ATLAS Offline Software
|
#include <HistHandler.h>
Public Member Functions | |
| HistHandler_TH2Poly (columnar::ColumnarTool<> *parent, TH2Poly *hist) | |
| The HistHandler_TH2Poly handles the TH2Poly histograms of the scale-factor maps. | |
| virtual | ~HistHandler_TH2Poly () |
| int | nOverFlowBins () const override |
| Return the number of overflow bins. | |
| bool | isOverFlowBin (int b) const override |
| States whether a bin is overflow or not. | |
| int | nBins () const override |
| Return the total number of bins in the histogram -> (GetNbins() +2)**n. | |
| std::string | GetBinName (unsigned int bin) const override |
| Translates the bin number into the borders and return them as name. | |
| CorrectionCode | FindBin (columnar::MuonId muon, int &bin) const override |
| Function that changes from Implementation to implementation. | |
| 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) |
Private Attributes | |
| TH2Poly * | m_h |
| std::unique_ptr< AxisHandler > | m_x_handler |
| std::unique_ptr< AxisHandler > | m_y_handler |
| std::unique_ptr< TH1 > | m_H |
Definition at line 162 of file HistHandler.h.
| CP::HistHandler_TH2Poly::HistHandler_TH2Poly | ( | columnar::ColumnarTool<> * | parent, |
| TH2Poly * | hist ) |
The HistHandler_TH2Poly handles the TH2Poly histograms of the scale-factor maps.
Since the bin-finding, algoritihms of the TH2Poly differ from the ones of TH1, TH2 & TH3 explicit methods of TH2Poly are needed to pick-up the proper bin.
Definition at line 297 of file HistHandler.cxx.
|
virtual |
Definition at line 305 of file HistHandler.cxx.
|
overridevirtual |
Function that changes from Implementation to implementation.
Implements CP::HistHandler.
Definition at line 314 of file HistHandler.cxx.
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.
Implements CP::HistHandler.
Definition at line 328 of file HistHandler.cxx.
|
inlineinherited |
Definition at line 63 of file HistHandler.h.
States whether a bin is overflow or not.
Implements CP::HistHandler.
Definition at line 312 of file HistHandler.cxx.
|
overridevirtual |
Return the total number of bins in the histogram -> (GetNbins() +2)**n.
Implements CP::HistHandler.
Definition at line 307 of file HistHandler.cxx.
|
overridevirtual |
Return the number of overflow bins.
Implements CP::HistHandler.
Definition at line 311 of file HistHandler.cxx.
Definition at line 140 of file HistHandler.cxx.
Definition at line 145 of file HistHandler.cxx.
|
privateinherited |
Definition at line 86 of file HistHandler.h.
|
private |
Definition at line 179 of file HistHandler.h.
|
private |
Definition at line 180 of file HistHandler.h.
|
private |
Definition at line 181 of file HistHandler.h.