]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliSurveyToAlignObjs.h
Warnings removed (R.Shahoyan)
[u/mrichter/AliRoot.git] / STEER / AliSurveyToAlignObjs.h
1 #ifndef ALISURVEYTOALIGNOBJS_H
2 #define ALISURVEYTOALIGNOBJS_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /////////////////////////////////////////////////////////////////////////
8 //     Base class for creating the alignment objects from survey       //
9 //     for a given subdetector                                         //
10 //                                                                     //
11 /////////////////////////////////////////////////////////////////////////
12 #include <TSystem.h>
13 #include <TObjArray.h>
14 #include <TClonesArray.h>
15
16 #include "AliAlignObjParams.h"
17 #include "AliSurveyObj.h"
18
19
20 class AliSurveyToAlignObjs : public TObject {
21
22  public:
23   AliSurveyToAlignObjs();
24   AliSurveyToAlignObjs(const AliSurveyToAlignObjs &align); // copy constructor
25   AliSurveyToAlignObjs &operator = (const AliSurveyToAlignObjs &align); //assignment operator
26
27   Bool_t LoadSurveyFromLocalFile(const char* filename);
28   Bool_t LoadSurveyFromAlienFile(const char* det, Int_t repNum, Int_t repVersion);
29
30   virtual Bool_t CreateAlignObjs() = 0;
31   virtual void Run() = 0;
32   Bool_t StoreAlignObjToFile(const char* filename, const char* det);
33   Bool_t StoreAlignObjToCDB(const char* cdbFolder, const char* det);
34   TClonesArray* GetAlignObjsArray() {return fAlignObjArray;}
35   virtual   ~AliSurveyToAlignObjs();
36   //
37  protected:
38   AliSurveyObj      *fSurveyObj;         // survey object
39   TObjArray         *fSurveyPoints;     // array of survey points
40   TClonesArray      *fAlignObjArray;    // TClonesArray of alignment objects
41   AliAlignObjParams *fAlignObj;         // alignment object
42
43   ClassDef(AliSurveyToAlignObjs,0);
44 };
45 #endif