GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
Example4.cxx File Reference

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)
 

Detailed Description

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.

Function Documentation

◆ Example4()

◆ GetHistogram()

TH1D * GetHistogram ( const char * HistogramName)

Definition at line 48 of file Example4.cxx.

Referenced by Example4().

◆ main()

int main ( int argc,
char ** argv )

Definition at line 34 of file Example4.cxx.

References Example4().