14#ifndef TGO4FITMODELGAUSS2_H
15#define TGO4FITMODELGAUSS2_H
56 Double_t iWidth1 = 1., Double_t iWidth2 = 1., Double_t iCov12 = 0.,
57 Int_t iNaxis1 = 0, Int_t iNaxis2 = 1);
87 void Print(Option_t *option =
"")
const override;
90 Double_t
EvalN(
const Double_t *v)
override;
Two dimensional gaussian peak.
void Print(Option_t *option="") const override
Prints information to standard output.
Double_t Par_sig2
Temporary variable for EvalN() function.
Double_t Par_mu2
Temporary variable for EvalN() function.
Double_t Par_ro
Temporary variable for EvalN() function.
Double_t Par_sig1
Temporary variable for EvalN() function.
Int_t fiNaxis2
Number of second selected axis.
Bool_t BeforeEval(Int_t ndim) override
Prepares (if necessary) some intermediate variables to be able calculate values of model via EvalN() ...
Int_t GetNumAxis2() const
Return number of second selected axis.
Int_t GetWidthParIndex(Int_t naxis) override
Return index of parameter (if exist), which represent width of model component for given axis.
Int_t SetNumAxis2(Int_t n)
Sets number of second selected axis.
TGo4FitModelGauss2()
Default constructor.
Int_t fiNaxis1
Number of first selected axis.
virtual ~TGo4FitModelGauss2()
Destroys TGo4FitModelGauss2 object.
Double_t Par_mu1
Temporary variable for EvalN() function.
Double_t EvalN(const Double_t *v) override
Calculates value of model according current parameters values and provided axes values.
Double_t Par_mult
Temporary variable for EvalN() function.
Int_t GetPosParIndex(Int_t naxis) override
Return index of parameter (if exist), which represent position of model for given axis.
Int_t GetNumAxis1() const
Return number of first selected axis.
Int_t SetNumAxis1(Int_t n)
Sets number of first selected axis.
TGo4FitModel()
Default constructor.