14#ifndef TGO4FITMODELGAUSSN_H
15#define TGO4FITMODELGAUSSN_H
102 void Print(Option_t *option =
"")
const override;
105 Double_t
EvalN(
const Double_t *v)
override;
N-dimensional gaussian peak.
void SetAxisForIndex(Int_t indx, Int_t axis)
Change axis number for specified index (dimension) of gaussian.
void FillMuVector(TVectorD &Mu)
Fills vector of gaussian position from parameters values.
Int_t GetAxisForIndex(Int_t indx) const
Gets axis number (0 - x-axis, 1 - y-axis) for specified dimension of gaussian.
TMatrixD * Matr_sig
Temporary variable for EvalN() function.
TString GetPosParName(Int_t naxis)
Int_t GetAxisNumbers() const
Returns number of dimensions (number of axes), where gaussian will be build.
void Print(Option_t *option="") const override
Print information on standard output.
Double_t EvalN(const Double_t *v) override
Calculates value of model according current parameters values and provided axes values.
void FillSigmaMatrix(TMatrixD &Sigma)
Fill covariance matrix from parameters values.
TGo4FitModelGaussN()
Default constructor.
TVectorD * Vect_mu
Temporary variable for EvalN() function.
void AfterEval() override
Clear buffers, which were created by BeforeEval() method.
TString GetWidthParName(Int_t naxis)
Bool_t BeforeEval(Int_t) override
Prepares (if necessary) some intermediate variables to be able calculate values of model via EvalN() ...
TVectorD * Vect_dx
Temporary variable for EvalN() function.
Int_t GetWidthParIndex(Int_t naxis) override
Return index of parameter (if exist), which represent width of model component for given axis.
TString GetCovarParName(Int_t naxis1, Int_t naxis2)
TArrayI fxIndexes
Array of axis indexes, where n-dim gaussian will be build.
virtual ~TGo4FitModelGaussN()
Destroys TGo4FitModelGaussN object.
Int_t * Par_indx
Temporary variable for EvalN() function.
Bool_t SetAxisNumbers(Int_t naxis)
Sets number of axes (dimensions), where gaussian will be build.
TVectorD * Vect_x
Temporary variable for EvalN() function.
Bool_t ResortIndexes(Int_t leaveaxis=-1)
Checks duplicates in axis numbers, associated to different gaussian dimensions.
Int_t GetPosParIndex(Int_t naxis) override
Return index of parameter (if exist), which represent position of model for given axis.
Int_t Par_ndim
Temporary variable for EvalN() function.
TGo4FitModel()
Default constructor.