16 #include "Riostream.h"
37 Double_t k = (nbins>0) ? (y2-y1) / nbins : 0.;
42 Double_t k = (n2-n1 != 0.) ? (y2-y1) / (n2 - n1) : 0.;
48 if ((scales!=0) && (naxis>
GetAxis()))
53 std::cout <<
"Linear transformation of " <<
fiAxis <<
" axis" << std::endl;
virtual ~TGo4FitLinearTrans()
virtual void Transformation(Double_t *scales, Int_t naxis)
virtual void Print(Option_t *option) const
void SetCoef(Double_t iCoefK, Double_t iCoefB)
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)
void SetFixed(Bool_t iFixed)
virtual void Print(Option_t *option) const
TGo4FitParameter * AddPar(TGo4FitParameter *par)