New class AliITSSurveyToAlignSSD to convert the SSD survey data to alignment objects...
[u/mrichter/AliRoot.git] / ITS / AliITSSurveyToAlignSSD.h
1 #ifndef ALIITSSURVEYTOALIGNSSD_H
2 #define ALIITSSURVEYTOALIGNSSD_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 survey data    //      
11 //     for the SSD layers.                                             //
12 //                                                                     //
13 //     Author: Panos.Christakoglou@cern.ch - NIKHEF/UU                 //
14 /////////////////////////////////////////////////////////////////////////
15 #include <TObjArray.h>
16 #include <TClonesArray.h>
17
18 #include "AliAlignObjParams.h"
19
20
21 class AliITSSurveyToAlignSSD : public TObject {
22
23  public:
24   AliITSSurveyToAlignSSD();
25   AliITSSurveyToAlignSSD(Int_t run, Int_t reportloc, Int_t reportglob);
26   AliITSSurveyToAlignSSD(const AliITSSurveyToAlignSSD &align); // copy constructor
27   AliITSSurveyToAlignSSD &operator = (const AliITSSurveyToAlignSSD &align); //assignment operator
28   Bool_t LoadSurveyData();
29   void CreateAlignObj();
30   void Run();
31   void SetDebug(Int_t debug){fDebug=debug;}
32   void StoreAlignObj();
33   virtual   ~AliITSSurveyToAlignSSD();
34   //
35  private:
36   Int_t   fRun;                         // the run number for the OCDB
37   Char_t *fFileLoc;                     // file with ideal points
38   Char_t *fFileGlob;                    // file with surveyed points
39   TObjArray *fSurveyPoints;             // array of survey points
40   TClonesArray *fSSDAlignObj;           // TClonesArray of AliAlignObj
41   AliAlignObjParams *fSSDAlignObjParam; // SSD alignment object param
42   Int_t fDebug;                         // debug flag
43   
44
45   ClassDef(AliITSSurveyToAlignSSD,0);
46 };
47 #endif