1 #ifndef ALITRACKRESIDUALSFAST_H
2 #define ALITRACKRESIDUALSFAST_H
4 //************************************************************************
5 // AliTrackResidualsFast: derived class (from AliTrackResiduals) which *
6 // implements a simple linear minimization of the track residuals chi2. *
7 // The minimization relies on the fact that the alignment parameters *
8 // (angles and translations) are small. *
11 //************************************************************************
13 #include "TMatrixDSym.h"
16 #include "AliAlignObj.h"
17 #include "AliTrackResiduals.h"
19 class AliTrackResidualsFast : public AliTrackResiduals {
22 AliTrackResidualsFast();
23 AliTrackResidualsFast(Int_t ntracks);
24 AliTrackResidualsFast(const AliTrackResidualsFast &res);
25 AliTrackResidualsFast& operator= (const AliTrackResidualsFast& res);
26 virtual ~AliTrackResidualsFast() { }
32 void AddPoints(AliTrackPoint &p, AliTrackPoint &pprime);
35 Double_t fSum[27]; // Sums used during the chi2 minimization
36 Double_t fSumR; // Sum of r squared
38 ClassDef(AliTrackResidualsFast,1)