Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PS_timing/scripts/fits.C File Reference

Go to the source code of this file.

Functions

TH1 * GetHistogram (TFile *f, TString hname, TString htype, int counter)
 
TH1 * GetTaggerHistogram (TFile *f)
 
double GetMode (TH1 *h)
 
void WriteFitResults (ofstream &fout, TH1 *h, TString htype, int counter)
 
void WriteFitResults2 (ofstream &fout, TH1 *h, TString htype, int counter)
 
int fits (TString rootFile, bool doAllFits)
 

Function Documentation

int fits ( TString  rootFile,
bool  doAllFits 
)
TH1* GetHistogram ( TFile *  f,
TString  hname,
TString  htype,
int  counter 
)

Definition at line 2 of file PS_timing/scripts/fits.C.

References counter, h, and h2.

Referenced by fits(), and gaussian_fits().

double GetMode ( TH1 *  h)

Definition at line 21 of file PS_timing/scripts/fits.C.

References max.

Referenced by WriteFitResults(), WriteFitResults2(), and WriteGaussianFitResults().

TH1* GetTaggerHistogram ( TFile *  f)

Definition at line 14 of file PS_timing/scripts/fits.C.

References h, and h2.

Referenced by fits().

void WriteFitResults ( ofstream &  fout,
TH1 *  h,
TString  htype,
int  counter 
)

Definition at line 28 of file PS_timing/scripts/fits.C.

References counter, GetMode(), max, sigma, and x.

Referenced by fits().

void WriteFitResults2 ( ofstream &  fout,
TH1 *  h,
TString  htype,
int  counter 
)

Definition at line 68 of file PS_timing/scripts/fits.C.

References counter, f1(), GetMode(), max, and x.

Referenced by fits().