]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliSurveyToAlignObjs.h
POI's and RP's for LeeYang Zeroes eventplane
[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   virtual   ~AliSurveyToAlignObjs();
35   //
36  protected:
37   AliSurveyObj      *fSurveyObj;         // survey object
38   TObjArray         *fSurveyPoints;     // array of survey points
39   TClonesArray      *fAlignObjArray;    // TClonesArray of alignment objects
40   AliAlignObjParams *fAlignObj;         // alignment object
41
42   ClassDef(AliSurveyToAlignObjs,0);
43 };
44 #endif