GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
Go4Fit Example4. More...
#include "TH1.h"
#include "TFile.h"
#include "TApplication.h"
#include "TGo4Fitter.h"
#include "TModelTemplate.h"
Go to the source code of this file.
Functions | |
void | Example4 () |
TH1D * | GetHistogram (const char *HistogramName) |
int | main (int argc, char **argv) |
Go4Fit Example4.
Custom module class
Same as small Example1, but for gaussian modelling new model component was constructed First way is to define user function and assign it to in TGo4FitModelFunction class In TModelTemplate class UserFunction method was redefined
Definition in file Example4.cxx.
void Example4 | ( | ) |
Definition at line 59 of file Example4.cxx.
References TGo4Fitter::AddH1(), TGo4Fitter::AddModel(), TGo4Fitter::AddPolynomX(), TGo4FitterAbstract::DoActions(), TGo4Fitter::Draw(), TGo4Fitter::ff_ML_Poisson, GetHistogram(), TGo4Fitter::Print(), and TGo4FitParsList::SetParValue().
Referenced by main().
TH1D * GetHistogram | ( | const char * | HistogramName | ) |
Definition at line 48 of file Example4.cxx.
Referenced by Example4().
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 34 of file Example4.cxx.
References Example4().