FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
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) |
int | PullFitPlot (TH1 *his) |
int | GaussFitPlot (TH1 *his) |
int | LineFitPlot (TH1 *his) |
int | Tools () |
Variables | |
Int_t | gCanvasCounter =0 |
bool BetterStatBox | ( | TPad * | pad | ) |
Vorgehensweise:
Definition at line 100 of file tools/Tools.C.
References hist, i, name, obj, and TString.
bool DrawHistSecondScale | ( | TH1 * | hist, |
int | color = kRed |
||
) |
Definition at line 537 of file tools/Tools.C.
bool DrawNice2DHisto | ( | TH2 * | h, |
const char * | opt = "" , |
||
double | range = 10. |
||
) |
Definition at line 63 of file tools/Tools.C.
References range, and TString.
Referenced by plothistosfromfile().
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 45 of file tools/Tools.C.
References col.
Referenced by GaussFitPlot(), LineFitPlot(), and PullFitPlot().
int GaussFitPlot | ( | TH1 * | his | ) |
Definition at line 588 of file tools/Tools.C.
References Double_t, DrawText(), gCanvasCounter, mean, par, range, sigma, and TString.
bool ImproveDefaultStyle | ( | ) |
Definition at line 147 of file tools/Tools.C.
Definition at line 498 of file tools/Tools.C.
References fRun, PndFileNameCreator::GetCustomFileName(), PndFileNameCreator::GetParFileName(), PndFileNameCreator::GetRecoFileName(), PndFileNameCreator::GetSimFileName(), namecreator, outFile, parFile, recoFile, rtdb, simFile, sysFile, and TString.
int LineFitPlot | ( | TH1 * | his | ) |
Definition at line 616 of file tools/Tools.C.
References Double_t, DrawText(), gCanvasCounter, par, range, and TString.
bool LoadManySimFiles | ( | TString | treename = "pndsim" | ) |
Definition at line 484 of file tools/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 314 of file tools/Tools.C.
References DrawNice2DHisto(), ext, file, filename, i, set_nicer_2d_plot_style(), and TString.
bool plotntuplefromfile | ( | TString | filename = "ntps.root" , |
TString | ext = ".pdf" , |
||
Int_t | divx = 2 , |
||
Int_t | divy = 2 , |
||
Int_t | pix = 300 |
||
) |
Definition at line 414 of file tools/Tools.C.
References ext, file, filename, i, printf(), and TString.
int PullFitPlot | ( | TH1 * | his | ) |
Definition at line 555 of file tools/Tools.C.
References Double_t, DrawText(), gCanvasCounter, mean, par, range, sigma, and TString.
bool set_nicer_2d_plot_style | ( | ) |
Definition at line 85 of file tools/Tools.C.
References Double_t.
Referenced by LoadPandaStyle(), and plothistosfromfile().
int Tools | ( | ) |
Definition at line 641 of file tools/Tools.C.
TH1D TransformHisto | ( | TH2 * | h2, |
double | min, | ||
double | max | ||
) |
Definition at line 296 of file tools/Tools.C.
Int_t gCanvasCounter =0 |
Definition at line 43 of file tools/Tools.C.
Referenced by GaussFitPlot(), LineFitPlot(), and PullFitPlot().