Hall-D Software
alpha
|
#include <TFile.h>
#include <TDirectory.h>
Go to the source code of this file.
Namespaces | |
GetResolutionsNS | |
Functions | |
TH1I * | GetResolutionsNS::Get1DHistogram (const char *plugin, const char *directoryName, const char *name, bool print=true) |
TH2I * | GetResolutionsNS::Get2DHistogram (const char *plugin, const char *directoryName, const char *name) |
TH2D * | GetResolutionsNS::Get2DWeightedHistogram (const char *plugin, const char *directoryName, const char *name) |
void | GetXYfromSize (int size, int &x, int &y) |
void | GetResolutionHistograms (TH2 *hist2d, TH1D *rmshist, TH1D *fithist, TH1D *meanhist, TH1D *fitmeanhist, int minhits, TString tag, bool print) |
int | GetColor (int number) |
void | FormatHist (TH1 *hist, int color, int markerstyle) |
void | makeplot (std::string plot_title, TString tag, std::string plot_label, std::vector< std::string > histname_plot, std::vector< std::string > histdir_plot, std::string plot_type, std::vector< std::string > legend_plot, bool logx=1) |
void | GetResolutions (int run=2931, TString filename="hd_root.root", TString tag="default", bool summary=1) |
Variables | |
TFile * | GetResolutionsNS::thisFile =NULL |
void FormatHist | ( | TH1 * | hist, |
int | color, | ||
int | markerstyle | ||
) |
Definition at line 556 of file GetResolutions.C.
Referenced by GetResolutions().
int GetColor | ( | int | number | ) |
Definition at line 547 of file GetResolutions.C.
Referenced by MyProcessor::FillGraphics(), and GetResolutions().
void GetResolutionHistograms | ( | TH2 * | hist2d, |
TH1D * | rmshist, | ||
TH1D * | fithist, | ||
TH1D * | meanhist, | ||
TH1D * | fitmeanhist, | ||
int | minhits, | ||
TString | tag, | ||
bool | |||
) |
Definition at line 455 of file GetResolutions.C.
References printf(), sigma, and sprintf().
Referenced by GetResolutions().
void GetResolutions | ( | int | run = 2931 , |
TString | filename = "hd_root.root" , |
||
TString | tag = "default" , |
||
bool | summary = 1 |
||
) |
Definition at line 98 of file GetResolutions.C.
References filename, FormatHist(), GetResolutionsNS::Get2DHistogram(), GetResolutionsNS::Get2DWeightedHistogram(), GetColor(), GetResolutionHistograms(), GetXYfromSize(), makeplot(), pad, printf(), sprintf(), string, and GetResolutionsNS::thisFile.
void GetXYfromSize | ( | int | size, |
int & | x, | ||
int & | y | ||
) |
Definition at line 48 of file GetResolutions.C.
Referenced by GetResolutions().
void makeplot | ( | std::string | plot_title, |
TString | tag, | ||
std::string | plot_label, | ||
std::vector< std::string > | histname_plot, | ||
std::vector< std::string > | histdir_plot, | ||
std::string | plot_type, | ||
std::vector< std::string > | legend_plot, | ||
bool | logx = 1 |
||
) |
Definition at line 63 of file GetResolutions.C.
References printf(), and sprintf().
Referenced by GetResolutions().