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 //
12 /////////////////////////////////////////////////////////////////////////
13 #include "AliAlignObjParams.h"
14 #include <TMatrixDfwd.h>
17 // Class creating the T0 aligmnent objects
18 // from the surveys done by surveyers at Point2.
19 // Position of T0 alignment objects is computed.
21 class AliT0Align : public TObject {
25 AliT0Align(Int_t reportloc, Int_t side, Int_t reportglob);
26 // reportloc - location of the report: 0 - DCDB (Grid), 1,2 ... - file on local disc
27 // side - side in ALICE: 0 - A-side or 1 - C-side
28 // reportglob - EDMS number of the survey report
29 AliT0Align(const AliT0Align &align); // copy constructor
30 AliT0Align &operator = (const AliT0Align &align); //assignment operator
31 virtual ~AliT0Align();
32 // void SetDebug(Int_t debug){debug=fDebug;}
33 Bool_t LoadSurveyData();
34 Double_t ComputePosition();
35 void CreateAlignObj();
41 Char_t *fFileGlob; // file with surveyed points
42 AliAlignObjParams *fT0AAlignObj; // T0-A alignment object
43 AliAlignObjParams *fT0CAlignObj; // T0-C alignment object
44 Int_t fDebug; // debug flag
45 Float_t fXPosC; // "x" coordinate of T0-C with respect to Global Reference System
46 Float_t fYPosC; // "y" coordinate of T0-C with respect to Global Reference System
47 Float_t fXPosA; // "x" coordinate of T0-A with respect to Global Reference System
48 Float_t fYPosA; // "y" coordinate of T0-A with respect to Global Reference System
50 Int_t fRepLoc; // Location of the report: 0 - DCDB (Grid), 1,2 ... - file on local disc
51 Int_t fRepGlob; // Number of the survey report
52 Int_t fSide; // Side in ALICE: 0: A-side or 1: C-side
53 Char_t *fUser; // AliEn user
55 ClassDef(AliT0Align,0);