4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
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>
17 class AliTPCAlign : public TObject {
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();
28 void SetDebug(Int_t debug){fDebug=debug;}
30 virtual ~AliTPCAlign();
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
43 ClassDef(AliTPCAlign,0);