14#ifndef TGO4FITMODELGAUSS1_H
15#define TGO4FITMODELGAUSS1_H
48 TGo4FitModelGauss1(
const char *iName, Double_t iPosition = 1., Double_t iWidth = 1., Int_t iNaxis = 0);
68 void Print(Option_t *option =
"")
const override;
73 Double_t
EvalN(
const Double_t *v)
override;
One dimensional gaussian peak.
Bool_t BeforeEval(Int_t ndim) override
Prepares (if necessary) some intermediate variables to be able calculate values of model via EvalN() ...
TGo4FitModelGauss1()
Default constructor.
Int_t GetWidthParIndex(Int_t naxis) override
Return index of parameter (if exist), which represent width of model component for given axis.
Int_t GetPosParIndex(Int_t naxis) override
Return index of parameter (if exist), which represent position of model for given axis.
Int_t GetNumAxis() const
Return number of axis, where gauss will be build.
Int_t fiNaxis
Number of selected axis, where gaussian will be build.
void SetNumAxis(Int_t n)
Sets number of selected axis.
Double_t Integral() override
Calculates integral of model component.
virtual ~TGo4FitModelGauss1()
Destroys TGo4FitModelGauss1 object.
Double_t EvalN(const Double_t *v) override
Calculates value of model according current parameters values and provided axes values.
void Print(Option_t *option="") const override
Print information to standard output.
Double_t Par_x0
Temporary variable for EvalN() function.
Double_t Par_k
Temporary variable for EvalN() function.
TGo4FitModel()
Default constructor.