25 TGo4FitModel(iName,
"polynomial function",kTRUE), fxAllOrders(0) {
31 TGo4FitModel(iName,
"polynomial function",kTRUE), fxAllOrders(0) {
32 Double_t arr[2] = { iOrderX, iOrderY };
38 TGo4FitModel(iName,
"polynomial function",kTRUE), fxAllOrders(0) {
39 Double_t arr[3] = { iOrderX, iOrderY, iOrderZ };
45 TGo4FitModel(iName,
"polynomial function",kTRUE), fxAllOrders(0) {
55 for(Int_t n=startaxis;n<=maxaxis;n++) {
57 infostr.Form(
"Polynom order for axis %d",n);
66 res.Form(
"Order%d",naxis);
72 if (par==0)
return 0.;
84 if ((numaxis<0) || (numaxis==numaxisold))
return kFALSE;
85 if (numaxis<numaxisold)
86 for(Int_t n=numaxis+1;n<=numaxisold;n++)
TString GetOrderParName(Int_t naxis)
virtual ~TGo4FitModelPolynom()
virtual Bool_t BeforeEval(Int_t NDimension)
TGo4FitParameter * NewParameter(const char *Name, const char *Title, Double_t iValue=0., Bool_t Fixed=kFALSE, Int_t AtIndx=-1)
Bool_t RemovePar(const char *name)
TGo4FitParameter * FindPar(const char *ParName)
virtual void Print(Option_t *option) const
Bool_t SetMaxNumAxis(Int_t numaxis)
Int_t GetParIndex(const TGo4FitParameter *par)
Double_t GetValue() const
virtual Double_t EvalN(const Double_t *v)
void CreateOrdersPars(const Double_t *orders, Int_t startaxis, Int_t maxaxis, Int_t AtIndx=-1)
Double_t GetPolynomOrder(Int_t naxis)
void SetBackgroundGroupIndex()
virtual void Print(Option_t *option) const