2574314d |
1 | #ifndef ALITPCALIGN_H |
2 | #define ALITPCALIGN_H |
3 | |
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
5 | * See cxx source for full Copyright notice */ |
6 | |
7 | /* $Id$ */ |
8 | |
9 | ///////////////////////////////////////////////////////////////////////// |
10 | // This class creates the alignment object from the surveyer data // |
11 | // for the entire TPC in the magnet (ALICE R.F.) // |
12 | ///////////////////////////////////////////////////////////////////////// |
13 | #include "AliAlignObjParams.h" |
14 | #include <TMatrixDfwd.h> |
15 | #include <TMatrixT.h> |
16 | |
17 | class AliTPCAlign : public TObject { |
18 | |
19 | public: |
20 | AliTPCAlign(); |
21 | AliTPCAlign(Int_t reportloc, Int_t reportglob); |
22 | AliTPCAlign(const AliTPCAlign &align); // copy constructor |
23 | AliTPCAlign &operator = (const AliTPCAlign &align); //assignment operator |
24 | Bool_t LoadSurveyData(); |
25 | Double_t ComputeTransform(); |
26 | void CreateAlignObj(); |
27 | void Run(); |
3e3d6422 |
28 | void SetDebug(Int_t debug){fDebug=debug;} |
2574314d |
29 | void StoreAlignObj(); |
30 | virtual ~AliTPCAlign(); |
31 | // |
32 | private: |
33 | |
34 | Char_t *fFileLoc; // file with ideal points |
35 | Char_t *fFileGlob; // file with surveyed points |
36 | AliAlignObjParams *fTPCAlignObj; // TPC alignment object |
37 | TMatrixD fX; // transformation parameters |
38 | TMatrixD fA; // coefficients |
39 | TMatrixD fY; // "measurements" |
40 | Int_t fDebug; // debug flag |
41 | |
42 | |
43 | ClassDef(AliTPCAlign,0); |
44 | }; |
45 | #endif |