Hall-D Software
alpha
|
Go to the source code of this file.
Functions | |
TH1 * | GetHistogram (TFile *f, int counter, int ph_bin) |
double | GetMode (TH1 *h) |
void | WriteGaussianFitResults (ofstream &fout, TH1 *h, int counter, int ph_bin) |
int | gaussian_fits (TString rootFile, bool doAllFits) |
int gaussian_fits | ( | TString | rootFile, |
bool | doAllFits | ||
) |
Definition at line 76 of file gaussian_fits.C.
References f, GetHistogram(), h, and WriteGaussianFitResults().
TH1* GetHistogram | ( | TFile * | f, |
int | counter, | ||
int | ph_bin | ||
) |
Definition at line 2 of file gaussian_fits.C.
double GetMode | ( | TH1 * | h | ) |
Definition at line 19 of file gaussian_fits.C.
References max.
void WriteGaussianFitResults | ( | ofstream & | fout, |
TH1 * | h, | ||
int | counter, | ||
int | ph_bin | ||
) |
Definition at line 26 of file gaussian_fits.C.
References counter, f1(), GetMode(), and x.
Referenced by gaussian_fits().