Figure class for TH1D.
More...
#include "NAGASH/FigureTool.h"
|
| FigureHist1D (std::shared_ptr< MSGTool > MSG, std::shared_ptr< FigureStyleHelper > shelper, const TString &elementname, const TString &linkinfo, const TString &option, FigureElement *mother, std::function< void(TGraph *)> optionfunc) |
|
| FigureHist1D (std::shared_ptr< MSGTool > MSG, std::shared_ptr< FigureStyleHelper > shelper, const TString &elementname, const TString &linkinfo, const TString &option, FigureElement *mother, std::function< void(TH1D *)> optionfunc=[](TH1D *) {}) |
|
| FigureHist1D (std::shared_ptr< MSGTool > MSG, std::shared_ptr< FigureStyleHelper > shelper, const TString &elementname, TH1D *hist, const TString &option, FigureElement *mother, std::function< void(TGraph *)> optionfunc) |
|
| FigureHist1D (std::shared_ptr< MSGTool > MSG, std::shared_ptr< FigureStyleHelper > shelper, const TString &elementname, TH1D *hist, const TString &option, FigureElement *mother, std::function< void(TH1D *)> optionfunc=[](TH1D *) {}) |
|
void | CreateHistFromHistLink () |
|
virtual void | DrawElement () override |
|
TH1D * | GetHist () |
|
TString | GetLinkMode () |
|
std::vector< TString > | GetLinkObject () |
|
std::pair< double, double > | GetMinAndMax (double, double) |
|
virtual void | SetStyle () override |
|
Figure class for TH1D.
Definition at line 131 of file FigureTool.h.
◆ ~FigureHist1D()
FigureHist1D::~FigureHist1D |
( |
| ) |
|
|
virtual |
◆ FigureHist1D() [1/4]
FigureHist1D::FigureHist1D |
( |
std::shared_ptr< MSGTool > |
MSG, |
|
|
std::shared_ptr< FigureStyleHelper > |
shelper, |
|
|
const TString & |
elementname, |
|
|
TH1D * |
hist, |
|
|
const TString & |
option, |
|
|
FigureElement * |
mother, |
|
|
std::function< void(TH1D *)> |
optionfunc = [](TH1D *) {} |
|
) |
| |
|
private |
◆ FigureHist1D() [2/4]
FigureHist1D::FigureHist1D |
( |
std::shared_ptr< MSGTool > |
MSG, |
|
|
std::shared_ptr< FigureStyleHelper > |
shelper, |
|
|
const TString & |
elementname, |
|
|
const TString & |
linkinfo, |
|
|
const TString & |
option, |
|
|
FigureElement * |
mother, |
|
|
std::function< void(TH1D *)> |
optionfunc = [](TH1D *) {} |
|
) |
| |
|
private |
◆ FigureHist1D() [3/4]
FigureHist1D::FigureHist1D |
( |
std::shared_ptr< MSGTool > |
MSG, |
|
|
std::shared_ptr< FigureStyleHelper > |
shelper, |
|
|
const TString & |
elementname, |
|
|
TH1D * |
hist, |
|
|
const TString & |
option, |
|
|
FigureElement * |
mother, |
|
|
std::function< void(TGraph *)> |
optionfunc |
|
) |
| |
|
private |
◆ FigureHist1D() [4/4]
FigureHist1D::FigureHist1D |
( |
std::shared_ptr< MSGTool > |
MSG, |
|
|
std::shared_ptr< FigureStyleHelper > |
shelper, |
|
|
const TString & |
elementname, |
|
|
const TString & |
linkinfo, |
|
|
const TString & |
option, |
|
|
FigureElement * |
mother, |
|
|
std::function< void(TGraph *)> |
optionfunc |
|
) |
| |
|
private |
◆ CreateHistFromHistLink()
void FigureHist1D::CreateHistFromHistLink |
( |
| ) |
|
|
private |
◆ DrawElement()
void FigureHist1D::DrawElement |
( |
| ) |
|
|
overrideprivatevirtual |
◆ GetHist()
TH1D * NAGASH::FigureHist1D::GetHist |
( |
| ) |
|
|
inlineprivate |
◆ GetLinkMode()
TString FigureHist1D::GetLinkMode |
( |
| ) |
|
|
private |
◆ GetLinkObject()
std::vector< TString > FigureHist1D::GetLinkObject |
( |
| ) |
|
|
private |
◆ GetMinAndMax()
std::pair< double, double > FigureHist1D::GetMinAndMax |
( |
double |
xmin, |
|
|
double |
xmax |
|
) |
| |
|
private |
◆ Rebin()
void FigureHist1D::Rebin |
( |
int |
num | ) |
|
◆ Scale()
void FigureHist1D::Scale |
( |
double |
factor | ) |
|
◆ SetStyle()
void FigureHist1D::SetStyle |
( |
| ) |
|
|
overrideprivatevirtual |
◆ FigureCanvas
◆ FigureHStack
◆ FigurePad
◆ FigureStyleHelper
◆ DrawAsTGraph
bool NAGASH::FigureHist1D::DrawAsTGraph = false |
|
private |
◆ DrawOption
TString NAGASH::FigureHist1D::DrawOption |
|
private |
◆ ForHStack
bool NAGASH::FigureHist1D::ForHStack = false |
|
private |
◆ FromHistLink
bool NAGASH::FigureHist1D::FromHistLink = false |
|
private |
◆ index_in_pad
int NAGASH::FigureHist1D::index_in_pad = 0 |
|
private |
◆ LinkInfo
TString NAGASH::FigureHist1D::LinkInfo |
|
private |
◆ mygraph
TGraphErrors* NAGASH::FigureHist1D::mygraph = nullptr |
|
private |
◆ myhist
TH1D* NAGASH::FigureHist1D::myhist = nullptr |
|
private |
◆ OptionFunc
std::function<void(TH1D *)> NAGASH::FigureHist1D::OptionFunc |
|
private |
◆ TGraphOptionFunc
std::function<void(TGraph *)> NAGASH::FigureHist1D::TGraphOptionFunc |
|
private |
The documentation for this class was generated from the following files: