34 Double_t arr[2] = { iOrderX, iOrderY };
42 Double_t arr[3] = { iOrderX, iOrderY, iOrderZ };
61 for(Int_t n=startaxis;n<=maxaxis;n++) {
63 infostr.Form(
"Polynom order for axis %d",n);
72 res.Form(
"Order%d",naxis);
93 if ((numaxis < 0) || (numaxis == numaxisold))
95 if (numaxis < numaxisold)
96 for (Int_t n = numaxis + 1; n <= numaxisold; n++)
114 for (Int_t i = 0; i <
Par_ndim; i++)
122 for (Int_t n = 0; n <
Par_ndim; n++)
Double_t GetValue() const
Bool_t BeforeEval(Int_t NDimension) override
virtual ~TGo4FitModelPolynom()
TGo4FitParameter * NewParameter(const char *Name, const char *Title, Double_t iValue=0., Bool_t Fixed=kFALSE, Int_t AtIndx=-1)
void Print(Option_t *option="") const override
Bool_t RemovePar(const char *name)
TGo4FitParameter * FindPar(const char *ParName)
Bool_t SetMaxNumAxis(Int_t numaxis)
TString GetOrderParName(Int_t naxis) const
Int_t GetParIndex(const TGo4FitParameter *par)
void CreateOrdersPars(const Double_t *orders, Int_t startaxis, Int_t maxaxis, Int_t AtIndx=-1)
Double_t EvalN(const Double_t *v) override
Double_t GetPolynomOrder(Int_t naxis)
void SetBackgroundGroupIndex()
void AfterEval() override
void Print(Option_t *option="") const override