]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0Align.h
Update of the class ESDMuonFilter. New marcros for creating AOD with muon information...
[u/mrichter/AliRoot.git] / T0 / AliT0Align.h
1 #ifndef ALIT0ALIGN_H
2 #define ALIT0ALIGN_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 T0                                                      //
12 /////////////////////////////////////////////////////////////////////////
13 #include "AliAlignObjParams.h"
14 #include <TMatrixDfwd.h>
15 #include <TMatrixT.h>
16
17 // Class creating the T0 aligmnent objects
18 // from the surveys done by surveyers at Point2.
19 // Position of T0 alignment objects is computed.
20
21 class AliT0Align : public TObject {
22
23  public:
24   AliT0Align();
25   AliT0Align(Int_t reportloc, Int_t reportglob);
26   AliT0Align(const AliT0Align &align); // copy constructor
27   AliT0Align &operator = (const AliT0Align &align); //assignment operator
28   Bool_t LoadSurveyData();
29   Double_t ComputePosition();
30   void CreateAlignObj();
31   void Run();
32   void SetDebug(Int_t debug){debug=fDebug;}
33   void StoreAlignObj();
34   virtual   ~AliT0Align();
35   //
36  private:
37
38   Char_t *fFileGlob;                  // file with surveyed points
39   AliAlignObjParams *fT0AAlignObj;  // T0-A alignment object
40   AliAlignObjParams *fT0CAlignObj;  // T0-C alignment object
41   Int_t fDebug;                     // debug flag
42   Float_t fXPos;                    // "x" coordinate of T0-C with respect to Global Reference System  
43   Float_t fYPos;                    // "y" coordinate of T0-C with respect to Global Reference System
44   Int_t fRepLoc;                    // Location of the report: 0 - DCDB (Grid), 1,2 ... - file on local disc    
45
46   ClassDef(AliT0Align,0);
47 };
48 #endif