#include <HistHandler.h>
|
| std::unique_ptr< TH1 > | m_H |
Definition at line 42 of file HistHandler.h.
◆ ~HistHandler()
| HistHandler::~HistHandler |
( |
| ) |
|
|
virtual |
◆ HistHandler() [1/2]
Definition at line 122 of file HistHandler.cxx.
122 :
124
125 }
std::unique_ptr< TH1 > m_H
std::unique_ptr< TH1 > clone(TH1 *H)
Clones a TH1 and handles the ownership then to a unique_ptr.
◆ HistHandler() [2/2]
| CP::HistHandler::HistHandler |
( |
const HistHandler & | other | ) |
|
|
protecteddelete |
◆ FindBin()
◆ GetBinContent()
| double CP::HistHandler::GetBinContent |
( |
int | bin | ) |
const |
|
inline |
Definition at line 51 of file HistHandler.h.
51 {
52 if (!
m_H)
return DBL_MAX;
53 return m_H->GetBinContent(bin);
54 }
◆ GetBinError()
| double CP::HistHandler::GetBinError |
( |
int | bin | ) |
const |
|
inline |
Definition at line 58 of file HistHandler.h.
58 {
59 if (!
m_H)
return DBL_MAX;
60 return m_H->GetBinError(bin);
61 }
◆ GetBinName()
| virtual std::string CP::HistHandler::GetBinName |
( |
unsigned int | bin | ) |
const |
|
pure virtual |
◆ GetHist()
| TH1 * CP::HistHandler::GetHist |
( |
| ) |
const |
|
inline |
◆ isOverFlowBin()
| virtual bool CP::HistHandler::isOverFlowBin |
( |
int | b | ) |
const |
|
pure virtual |
◆ nBins()
| virtual int CP::HistHandler::nBins |
( |
| ) |
const |
|
pure virtual |
◆ nOverFlowBins()
| virtual int CP::HistHandler::nOverFlowBins |
( |
| ) |
const |
|
pure virtual |
◆ operator=()
◆ SetBinContent()
| void HistHandler::SetBinContent |
( |
int | bin, |
|
|
float | val ) |
◆ SetBinError()
| void HistHandler::SetBinError |
( |
int | bin, |
|
|
float | val ) |
◆ m_H
| std::unique_ptr<TH1> CP::HistHandler::m_H |
|
private |
The documentation for this class was generated from the following files: