38 Double_t k = (nbins>0) ? (y2-y1) / nbins : 0.;
43 Double_t k = (n2-n1 != 0.) ? (y2-y1) / (n2 - n1) : 0.;
50 if (scales && (naxis >
GetAxis()))
56 std::cout <<
"Linear transformation of " <<
fiAxis <<
" axis" << std::endl;
void SetCoefByPoints(Double_t n1, Double_t y1, Double_t n2, Double_t y2)
void SetCoefByRange(Int_t nbins, Double_t y1, Double_t y2)
virtual ~TGo4FitLinearTrans()
void Transformation(Double_t *scales, Int_t naxis) override
void SetCoef(Double_t iCoefK, Double_t iCoefB)
void Print(Option_t *option="") const override
void Print(Option_t *option="") const override
Model and data objects parameter.
void SetFixed(Bool_t iFixed)
Set status of parameter fixed or not.
TGo4FitParameter * AddPar(TGo4FitParameter *par)