#include <TModelTemplate.h>
Public Member Functions | |
TModelTemplate (const char *iName, Int_t iNPars, Bool_t AddAmplitude=kFALSE) | |
Protected Member Functions | |
virtual Double_t | UserFunction (Double_t *Coordinates, Double_t *Parameters) |
Definition at line 19 of file TModelTemplate.h.
TModelTemplate::TModelTemplate | ( | const char * | iName, | |
Int_t | iNPars, | |||
Bool_t | AddAmplitude = kFALSE | |||
) |
Definition at line 27 of file TModelTemplate.cxx.
References TGo4FitComponent::NewParameter().
Double_t TModelTemplate::UserFunction | ( | Double_t * | , | |
Double_t * | ||||
) | [protected, virtual] |
Another place, where user specific code can be placed for model values calculation. Function gets as parameter array of Coordinates and array of Parameters values. Only user-specific calculation should be done and result value should be return.
Reimplemented from TGo4FitModel.
Definition at line 36 of file TModelTemplate.cxx.