]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliSurveyToAlignObjs.h
POI's and RP's for LeeYang Zeroes eventplane
[u/mrichter/AliRoot.git] / STEER / AliSurveyToAlignObjs.h
CommitLineData
00627e37 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
20class AliSurveyToAlignObjs : public TObject {
21
22 public:
23 AliSurveyToAlignObjs();
00627e37 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
e2909f78 30 virtual Bool_t CreateAlignObjs() = 0;
00627e37 31 virtual void Run() = 0;
e2909f78 32 Bool_t StoreAlignObjToFile(const char* filename, const char* det);
33 Bool_t StoreAlignObjToCDB(const char* cdbFolder, const char* det);
00627e37 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