ROOT logo
AliRoot » TRD » AliTRDtrackerV1::AliTRDLeastSquare

class AliTRDtrackerV1::AliTRDLeastSquare


Track finder

Authors:
Alex Bercuci <A.Bercuci@gsi.de>
Markus Fasel <M.Fasel@gsi.de>


Function Members (Methods)

public:
~AliTRDLeastSquare()
voidAddPoint(const Double_t *const x, Double_t y, Double_t sigmaY)
AliTRDtrackerV1::AliTRDLeastSquareAliTRDLeastSquare()
Bool_tEval()
voidGetCovarianceMatrix(Double_t* storage) const
Double_tGetFunctionParameter(Int_t ParNumber) const
Double_tGetFunctionValue(const Double_t *const xpos) const
voidRemovePoint(const Double_t *const x, Double_t y, Double_t sigmaY)
voidReset()

Data Members

private:
Double_tfCovarianceMatrix[3]Covariance Matrix
Double_tfParams[2]Fitparameter
Double_tfSums[6]Sums

Class Charts

Inheritance Chart:
AliTRDtrackerV1::AliTRDLeastSquare

Function documentation

AliTRDLeastSquare()
 Constructor of the nested class AliTRDtrackFitterLeastSquare

 Fast solving linear regresion in 2D
         y=a + bx
 The data members have the following meaning
 fParams[0] : a
 fParams[1] : b

 fSums[0] : S
 fSums[1] : Sx
 fSums[2] : Sy
 fSums[3] : Sxy
 fSums[4] : Sxx
 fSums[5] : Syy

 fCovarianceMatrix[0] : s2a
 fCovarianceMatrix[1] : s2b
 fCovarianceMatrix[2] : cov(ab)
void AddPoint(const Double_t *const x, Double_t y, Double_t sigmaY)
 Adding Point to the fitter

void RemovePoint(const Double_t *const x, Double_t y, Double_t sigmaY)
 Remove Point from the sample

Bool_t Eval()
 Evaluation of the fit:
 Calculation of the parameters
 Calculation of the covariance matrix

Double_t GetFunctionValue(const Double_t *const xpos) const
 Returns the Function value of the fitted function at a given x-position

void GetCovarianceMatrix(Double_t* storage) const
 Copies the values of the covariance matrix into the storage

void Reset()
 Reset the fitter

AliTRDLeastSquare()
~AliTRDLeastSquare()
{}
Double_t GetFunctionParameter(Int_t ParNumber) const
{return fParams[ParNumber];}
AliTRDLeastSquare& operator=(const AliTRDtrackerV1::AliTRDLeastSquare& )