|
FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
| int | Tools () |
| bool | DrawText (Double_t posX=0., Double_t posY=0., const char *text="", Double_t size=0.08, Int_t col=1) |
| bool | DrawNice2DHisto (TH2 *h, const char *opt="", double range=10.) |
| bool | set_nicer_2d_plot_style () |
| bool | BetterStatBox (TPad *pad) |
| bool | ImproveDefaultStyle () |
| bool | LoadPandaStyle (bool) |
| TH1D | TransformHisto (TH2 *h2, double min, double max) |
| bool | plothistosfromfile (TString filename="histos.root", TString ext=".pdf", Int_t divx=2, Int_t divy=2, Int_t pix=300) |
| bool | plotntuplefromfile (TString filename="ntps.root", TString ext=".pdf", Int_t divx=2, Int_t divy=2, Int_t pix=300) |
| bool | LoadManySimFiles (TString treename="pndsim") |
| TString | InitDefaultRun (TString filetag) |
| bool | DrawHistSecondScale (TH1 *hist, int color=kRed) |
| bool BetterStatBox | ( | TPad * | pad | ) |
Vorgehensweise:
Definition at line 104 of file style/Tools.C.
References hist, i, name, and TString.
| bool DrawHistSecondScale | ( | TH1 * | hist, |
| int | color = kRed |
||
| ) |
Definition at line 541 of file style/Tools.C.
| bool DrawNice2DHisto | ( | TH2 * | h, |
| const char * | opt = "", |
||
| double | range = 10. |
||
| ) |
| bool DrawText | ( | Double_t | posX = 0., |
| Double_t | posY = 0., |
||
| const char * | text = "", |
||
| Double_t | size = 0.08, |
||
| Int_t | col = 1 |
||
| ) |
Definition at line 49 of file style/Tools.C.
References col.
Referenced by GaussFitPlot(), LineFitPlot(), and PullFitPlot().
| bool ImproveDefaultStyle | ( | ) |
Definition at line 151 of file style/Tools.C.
Definition at line 502 of file style/Tools.C.
References fRun, PndFileNameCreator::GetCustomFileName(), PndFileNameCreator::GetParFileName(), PndFileNameCreator::GetRecoFileName(), PndFileNameCreator::GetSimFileName(), namecreator, outFile, parFile, recoFile, rtdb, simFile, sysFile, and TString.
| bool LoadManySimFiles | ( | TString | treename = "pndsim" | ) |
Definition at line 488 of file style/Tools.C.
| bool LoadPandaStyle | ( | bool | ) |
| bool plothistosfromfile | ( | TString | filename = "histos.root", |
| TString | ext = ".pdf", |
||
| Int_t | divx = 2, |
||
| Int_t | divy = 2, |
||
| Int_t | pix = 300 |
||
| ) |
Definition at line 318 of file style/Tools.C.
References DrawNice2DHisto(), ext, file, filename, i, set_nicer_2d_plot_style(), and TString.
Referenced by plotall().
| bool plotntuplefromfile | ( | TString | filename = "ntps.root", |
| TString | ext = ".pdf", |
||
| Int_t | divx = 2, |
||
| Int_t | divy = 2, |
||
| Int_t | pix = 300 |
||
| ) |
Definition at line 418 of file style/Tools.C.
References ext, file, filename, i, printf(), and TString.
| bool set_nicer_2d_plot_style | ( | ) |
Definition at line 89 of file style/Tools.C.
References Double_t.
Referenced by LoadPandaStyle(), and plothistosfromfile().
| int Tools | ( | ) |
Definition at line 43 of file style/Tools.C.
| TH1D TransformHisto | ( | TH2 * | h2, |
| double | min, | ||
| double | max | ||
| ) |
1.8.5