24 #include "TApplication.h"
31 int main(
int argc,
char **argv)
33 TApplication theApp(
"Application", 0, 0);
47 TFile* f1 = TFile::Open(
"histograms.root");
49 TH1D* histo = (TH1D*) f1->Get(HistogramName);
50 if (histo) histo->SetDirectory(0);
79 fitter.
Draw (
"#data1,Gauss1,Gauss2");
Bool_t SetParValue(const char *ParName, Double_t iValue)
virtual void Print(Option_t *option) const
virtual void Draw(Option_t *option)
void AddPolynomX(const char *DataName, const char *NamePrefix, Int_t MaxOrder=1, Int_t GroupIndex=0, Double_t lrange=0., Double_t rrange=0.)
int main(int argc, char **argv)
void DoActions(Bool_t AllowFitterChange=kFALSE, TObjArray *Actions=0)
TH1D * GetHistogram(const char *HistogramName)
TGo4FitModel * AddModel(TGo4FitModel *m)
TGo4FitDataHistogram * AddH1(const char *DataName, TH1 *histo, Bool_t Owned=kFALSE, Double_t lrange=0., Double_t rrange=0.)