Public Member Functions | Protected Member Functions

TModelTemplate Class Reference

#include <TModelTemplate.h>

Inheritance diagram for TModelTemplate:
TGo4FitModel TGo4FitComponent TGo4FitParsList TGo4FitSlotList TGo4FitNamed

List of all members.

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)

Detailed Description

Definition at line 19 of file TModelTemplate.h.


Constructor & Destructor Documentation

TModelTemplate::TModelTemplate ( const char *  iName,
Int_t  iNPars,
Bool_t  AddAmplitude = kFALSE 
)

Definition at line 27 of file TModelTemplate.cxx.

References TGo4FitComponent::NewParameter().


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines