|
ra4_stats
0341147a0dc35f80f4e12c6003afb76a38e2ed6e
|
#include <styles.hpp>
Public Member Functions | |
| styles (TString group="Standard") | |
| void | readGroupStyle () |
| void | testGlobalStyle (bool fixY=true, float scale=1000.) |
| void | setGlobalStyle () |
| void | setDefaultStyle () |
| void | setHistoStyle (TH1 *h) |
| void | printValues () |
| void | moveYAxisLabel (TH1 *h, float maxi, bool isLog=false) |
| void | styleHist (TH1 *h, Int_t color=1, Int_t fillstyle=0, Int_t symbol=8, Double_t size=0.7, Int_t width=1) |
| void | setMarkers (TH1 *h, float Msize=0.6, int Mstyle=20) |
| void | setTitles (TH1 *h, TString xTitle="", TString yTitle="", TString Left="", TString Right="") |
| void | setTitleSizes (TH1 *h, float size, float lsize, int font=62, float xoff=1., float yoff=1., int divisions=405) |
| void | parseStyleFile (TString group, TString fnames[], float *fvalues[], int nFloat, TString inames[], int *ivalues[], int nInt) |
| void | setGroup (TString group) |
Public Attributes | |
| TString | confFile |
| TString | Group |
| int | nFont |
| int | nPads |
| int | nDivisions |
| int | CanvasW |
| int | CanvasH |
| float | LegendSize |
| float | TitleSize |
| float | LabelSize |
| float | xTitleOffset |
| float | yTitleOffset |
| float | zTitleOffset |
| float | PadRightMargin |
| float | PadBottomMargin |
| float | PadLeftMargin |
| float | PadTopMargin |
Definition at line 12 of file styles.hpp.
| styles::styles | ( | TString | group = "Standard" | ) |
Definition at line 25 of file styles.cpp.
References confFile, Group, nDivisions, nFont, nPads, parseStyleFile(), and readGroupStyle().
| void styles::moveYAxisLabel | ( | TH1 * | h, |
| float | maxi, | ||
| bool | isLog = false |
||
| ) |
Definition at line 96 of file styles.cpp.
References Group, PadLeftMargin, parseStyleFile(), and yTitleOffset.
Referenced by testGlobalStyle().
| void styles::parseStyleFile | ( | TString | group, |
| TString | fnames[], | ||
| float * | fvalues[], | ||
| int | nFloat, | ||
| TString | inames[], | ||
| int * | ivalues[], | ||
| int | nInt | ||
| ) |
Definition at line 215 of file styles.cpp.
References confFile.
Referenced by moveYAxisLabel(), readGroupStyle(), and styles().
| void styles::printValues | ( | ) |
Definition at line 147 of file styles.cpp.
References CanvasH, CanvasW, LabelSize, LegendSize, nDivisions, nFont, nPads, PadBottomMargin, PadLeftMargin, PadRightMargin, PadTopMargin, TitleSize, xTitleOffset, yTitleOffset, and zTitleOffset.
| void styles::readGroupStyle | ( | ) |
Definition at line 85 of file styles.cpp.
References CanvasH, CanvasW, Group, LabelSize, LegendSize, PadBottomMargin, PadLeftMargin, PadRightMargin, PadTopMargin, parseStyleFile(), TitleSize, xTitleOffset, yTitleOffset, and zTitleOffset.
Referenced by setGroup(), styles(), and testGlobalStyle().
| void styles::setDefaultStyle | ( | ) |
Definition at line 36 of file styles.cpp.
References CanvasH, CanvasW, LabelSize, LegendSize, nDivisions, nFont, PadBottomMargin, PadLeftMargin, PadRightMargin, PadTopMargin, setGlobalStyle(), TitleSize, xTitleOffset, yTitleOffset, and zTitleOffset.
Referenced by main(), and testGlobalStyle().
| void styles::setGlobalStyle | ( | ) |
Definition at line 72 of file styles.cpp.
Referenced by setDefaultStyle(), and testGlobalStyle().
| void styles::setGroup | ( | TString | group | ) |
Definition at line 79 of file styles.cpp.
References Group, and readGroupStyle().
| void styles::setHistoStyle | ( | TH1 * | h | ) |
Definition at line 59 of file styles.cpp.
References LabelSize, nDivisions, nFont, TitleSize, xTitleOffset, yTitleOffset, and zTitleOffset.
| void styles::setMarkers | ( | TH1 * | h, |
| float | Msize = 0.6, |
||
| int | Mstyle = 20 |
||
| ) |
Definition at line 167 of file styles.cpp.
| void styles::setTitles | ( | TH1 * | h, |
| TString | xTitle = "", |
||
| TString | yTitle = "", |
||
| TString | Left = "", |
||
| TString | Right = "" |
||
| ) |
Definition at line 173 of file styles.cpp.
References PadLeftMargin, PadRightMargin, and PadTopMargin.
Referenced by testGlobalStyle().
| void styles::setTitleSizes | ( | TH1 * | h, |
| float | size, | ||
| float | lsize, | ||
| int | font = 62, |
||
| float | xoff = 1., |
||
| float | yoff = 1., |
||
| int | divisions = 405 |
||
| ) |
Definition at line 201 of file styles.cpp.
| void styles::styleHist | ( | TH1 * | h, |
| Int_t | color = 1, |
||
| Int_t | fillstyle = 0, |
||
| Int_t | symbol = 8, |
||
| Double_t | size = 0.7, |
||
| Int_t | width = 1 |
||
| ) |
Definition at line 188 of file styles.cpp.
| void styles::testGlobalStyle | ( | bool | fixY = true, |
| float | scale = 1000. |
||
| ) |
Definition at line 111 of file styles.cpp.
References plot_variations::c, GetMaximum(), moveYAxisLabel(), nPads, readGroupStyle(), setDefaultStyle(), setGlobalStyle(), and setTitles().
| int styles::CanvasH |
Definition at line 34 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), and setDefaultStyle().
| int styles::CanvasW |
Definition at line 34 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), and setDefaultStyle().
| TString styles::confFile |
Definition at line 32 of file styles.hpp.
Referenced by parseStyleFile(), and styles().
| TString styles::Group |
Definition at line 32 of file styles.hpp.
Referenced by moveYAxisLabel(), readGroupStyle(), setGroup(), and styles().
| float styles::LabelSize |
Definition at line 35 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), setDefaultStyle(), and setHistoStyle().
| float styles::LegendSize |
Definition at line 35 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), and setDefaultStyle().
| int styles::nDivisions |
Definition at line 33 of file styles.hpp.
Referenced by printValues(), setDefaultStyle(), setHistoStyle(), and styles().
| int styles::nFont |
Definition at line 33 of file styles.hpp.
Referenced by printValues(), setDefaultStyle(), setHistoStyle(), and styles().
| int styles::nPads |
Definition at line 33 of file styles.hpp.
Referenced by printValues(), styles(), and testGlobalStyle().
| float styles::PadBottomMargin |
Definition at line 36 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), and setDefaultStyle().
| float styles::PadLeftMargin |
Definition at line 36 of file styles.hpp.
Referenced by moveYAxisLabel(), printValues(), readGroupStyle(), setDefaultStyle(), and setTitles().
| float styles::PadRightMargin |
Definition at line 36 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), setDefaultStyle(), and setTitles().
| float styles::PadTopMargin |
Definition at line 36 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), setDefaultStyle(), and setTitles().
| float styles::TitleSize |
Definition at line 35 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), setDefaultStyle(), and setHistoStyle().
| float styles::xTitleOffset |
Definition at line 35 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), setDefaultStyle(), and setHistoStyle().
| float styles::yTitleOffset |
Definition at line 35 of file styles.hpp.
Referenced by moveYAxisLabel(), printValues(), readGroupStyle(), setDefaultStyle(), and setHistoStyle().
| float styles::zTitleOffset |
Definition at line 35 of file styles.hpp.
Referenced by printValues(), readGroupStyle(), setDefaultStyle(), and setHistoStyle().
1.8.11