![]() |
ATLAS Offline Software
|
#include <HistHandler.h>
Public Member Functions | |
| HistHandler_TH3 (columnar::ColumnarTool<> *parent, TH1 *hist) | |
| The HistHandler TH3 handles 3D histograms, since TH3 inhertis from TH1,a TH1* object is parsed avoiding the dynamic cast. | |
| virtual | ~HistHandler_TH3 () |
| int | nBins () const override |
| Return the total number of bins in the histogram -> (GetNbins() +2)**n. | |
| int | nOverFlowBins () const override |
| Return the number of overflow bins. | |
| bool | isOverFlowBin (int b) const override |
| States whether a bin is overflow or not. | |
| 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 | |
| std::unique_ptr< AxisHandler > | m_x_handler |
| std::unique_ptr< AxisHandler > | m_y_handler |
| std::unique_ptr< AxisHandler > | m_z_handler |
| std::unique_ptr< TH1 > | m_H |
Definition at line 136 of file HistHandler.h.
| CP::HistHandler_TH3::HistHandler_TH3 | ( | columnar::ColumnarTool<> * | parent, |
| TH1 * | hist ) |
The HistHandler TH3 handles 3D histograms, since TH3 inhertis from TH1,a TH1* object is parsed avoiding the dynamic cast.
Via the GetDimension() method of the TH1 the class ensures that the histogram has actual dimension 3. No specific TH3 method is required in all use-caes of the class.
Definition at line 236 of file HistHandler.cxx.
|
virtual |
Definition at line 243 of file HistHandler.cxx.
|
overridevirtual |
Function that changes from Implementation to implementation.
Implements CP::HistHandler.
Definition at line 258 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 278 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 251 of file HistHandler.cxx.
|
overridevirtual |
Return the total number of bins in the histogram -> (GetNbins() +2)**n.
Implements CP::HistHandler.
Definition at line 245 of file HistHandler.cxx.
|
overridevirtual |
Return the number of overflow bins.
Implements CP::HistHandler.
Definition at line 248 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 157 of file HistHandler.h.
|
private |
Definition at line 158 of file HistHandler.h.
|
private |
Definition at line 159 of file HistHandler.h.