21 #include "TApplication.h"
28 int main(
int argc,
char **argv)
30 TApplication theApp(
"Application", 0, 0);
44 TFile* f1 = TFile::Open(
"histograms.root");
46 TH1D* histo = (TH1D*) f1->Get(HistogramName);
47 if (histo) histo->SetDirectory(0);
77 fitter.
Print(
"Lines");
80 fitter.
Draw(
"#data1");
virtual void Print(Option_t *option) const
virtual void Draw(Option_t *option)
int main(int argc, char **argv)
void SetupForFirst(Double_t MaxAmplFactor, Double_t MinWidth, Double_t MaxWidth)
void DoActions(Bool_t AllowFitterChange=kFALSE, TObjArray *Actions=0)
TH1D * GetHistogram(const char *HistogramName)
void AddActionAt(TGo4FitterAction *Action, Int_t indx)
TGo4FitDataHistogram * AddH1(const char *DataName, TH1 *histo, Bool_t Owned=kFALSE, Double_t lrange=0., Double_t rrange=0.)