/* template for user model class The only function, which should be redefined by used - UserFunction() In given example constructor provides a general interface to create several parameters. Amplitude parameters can be add, if necessary. Any kind of other constructors with predefine parameters set and names can be invented Here user function is Gaussian */ #include "TString.h" #include "TMath.h" #include "TModelTemplate.h" TModelTemplate::TModelTemplate(const char* iName, Int_t iNPars, Bool_t AddAmplitude) : TGo4FitModel(iName,"Template for user model",AddAmplitude) { for (Int_t n=0;n