#include <HistHandler.h>
Definition at line 87 of file HistHandler.h.
◆ HistHandler_TH1() [1/2]
CP::HistHandler_TH1::HistHandler_TH1 |
( |
TH1 * |
hist | ) |
|
◆ HistHandler_TH1() [2/2]
◆ ~HistHandler_TH1()
CP::HistHandler_TH1::~HistHandler_TH1 |
( |
| ) |
|
|
virtual |
◆ Copy()
◆ FindBin()
◆ GetBinContent()
double CP::HistHandler::GetBinContent |
( |
int |
bin | ) |
const |
|
inlineinherited |
◆ GetBinError()
double CP::HistHandler::GetBinError |
( |
int |
bin | ) |
const |
|
inlineinherited |
◆ GetBinName()
std::string CP::HistHandler_TH1::GetBinName |
( |
unsigned int |
bin | ) |
const |
|
overridevirtual |
Translates the bin number into the borders and return them as name.
Implements CP::HistHandler.
Definition at line 176 of file HistHandler.cxx.
177 TAxis* xAx =
GetHist()->GetXaxis();
178 return Form(
"%s_%.2f_to_%.2f", xAx->GetTitle(), xAx->GetBinLowEdge(
bin), xAx->GetBinUpEdge(
bin));
◆ GetHist()
TH1* CP::HistHandler::GetHist |
( |
| ) |
const |
|
inlineinherited |
◆ isOverFlowBin()
bool CP::HistHandler_TH1::isOverFlowBin |
( |
int |
b | ) |
const |
|
overridevirtual |
◆ nBins()
int CP::HistHandler_TH1::nBins |
( |
| ) |
const |
|
overridevirtual |
◆ nOverFlowBins()
int CP::HistHandler_TH1::nOverFlowBins |
( |
| ) |
const |
|
overridevirtual |
◆ operator=()
◆ SetBinContent()
void HistHandler::SetBinContent |
( |
int |
bin, |
|
|
float |
val |
|
) |
| |
|
inherited |
◆ SetBinError()
void HistHandler::SetBinError |
( |
int |
bin, |
|
|
float |
val |
|
) |
| |
|
inherited |
◆ m_H
std::unique_ptr<TH1> CP::HistHandler::m_H |
|
privateinherited |
◆ m_x_handler
std::unique_ptr<AxisHandler> CP::HistHandler_TH1::m_x_handler |
|
private |
The documentation for this class was generated from the following files: