Go4Fit
Class TGo4FitLinearTrans
- class TGo4FitLinearTrans
- derived from TGo4FitAxisTrans
The linear transfromation of selected data axis.
It has two coefficients to transfrom axis values like:
scale[naxis] = CoefK * scale[naxis] + CoefB
After linear transformation object is constructed, the coefficients can be defined by three ways:
SetCalibration() - just setting these coefficients;
SetCalibrationByRange() - coefficients defines from range and number of points in this range;
SetCalibrationByPoints() - coefficients calculates from coordinates of two points, where first coordinate is channel number and second - axis value.
Fields inherited from class TNamed |
fName, fTitle |
Methods inherited from class Go4Fit.TGo4FitParsList |
AddPar, CanRollbackPars, ClearPars, ClearParsBlocking, CollectParsTo, CreatePar, Find, Find, Find, FindPar, FindPar, FindPar, Get, GetPar, GetParEpsilon, GetParError, GetParFixed, GetParFullName, GetParIndex, GetParName, GetParRange, GetParsValues, GetParValue, InsertPar, IsAllParsFixed, MemorizePars, NumFixedPars, NumFreePars, NumPars, PrintPars, RememberPars, RemovePar, RemovePar, RemoveParByIndex, SetParEpsilon, SetParError, SetParFixed, SetParName, SetParRange, SetParsNames, SetParsOwner, SetParsValues, SetParsValues, SetParValue |
Methods inherited from class TNamed |
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
fdCoefB
protected Double_t fdCoefB
fdCoefK
protected Double_t fdCoefK
fiAxis
protected Int_t fiAxis
TGo4FitLinearTrans
public TGo4FitLinearTrans()
TGo4FitLinearTrans
public TGo4FitLinearTrans(const char * iName, const char * iTitle, Int_t iAxis)
~TGo4FitLinearTrans
public virtual synchronized ~TGo4FitLinearTrans()
GetAxis
public Int_t GetAxis()
GetCoefB
public Double_t GetCoefB()
GetCoefK
public Double_t GetCoefK()
Print
public virtual const void Print(Option_t* option)
SetAxis
public void SetAxis(Int_t iAxis)
SetCoef
public void SetCoef(Double_t iCoefK, Double_t iCoefB)
SetCoefB
public void SetCoefB(Double_t b)
SetCoefByPoints
public void SetCoefByPoints(Double_t n1, Double_t y1, Double_t n2, Double_t y2)
SetCoefByRange
public void SetCoefByRange(Int_t nbins, Double_t y1, Double_t y2)
SetCoefK
public void SetCoefK(Double_t k)
Transformation
public virtual void Transformation(Double_t* scales, Int_t naxis)
30-06-2005