]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALITOFALIGNMENT_H | |
2 | #define ALITOFALIGNMENT_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 | // class for TOF Alignment:: // | |
9 | ////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #include "TTask.h" | |
12 | ||
13 | class TObjArray; | |
14 | ||
15 | class AliTOFAlignment :public TTask{ | |
16 | ||
17 | enum {kMaxAlignObj=2000}; //maximal number of the TOF Alignable Objects | |
18 | ||
19 | public: | |
20 | ||
21 | AliTOFAlignment(); | |
22 | AliTOFAlignment(const AliTOFAlignment &t); //Copy Ctor | |
23 | AliTOFAlignment& operator=(const AliTOFAlignment &source); // Assignment Operator | |
24 | virtual ~AliTOFAlignment(); | |
25 | virtual void WriteParOnCDB(Char_t *sel, Int_t minrun, Int_t maxrun); | |
26 | virtual void ReadParFromCDB(Char_t *sel, Int_t nrun); | |
27 | virtual void WriteSimParOnCDB(Char_t *sel, Int_t minrun, Int_t maxrun); | |
28 | virtual void ReadSimParFromCDB(Char_t *sel, Int_t nrun); | |
29 | virtual void Smear(Float_t *tr=0, Float_t *rot=0); // create a set of AlignObj for TOF | |
30 | virtual void Align(Float_t *tr=0, Float_t *rot=0); // create a set of AlignObj for TOF | |
31 | virtual void WriteOnCDBforDC(); | |
32 | virtual void ReadFromCDBforDC(); | |
33 | TObjArray * GetTOFAlignArray() const {return fTOFAlignObjArray;} | |
34 | ||
35 | private: | |
36 | ||
37 | Int_t fNTOFAlignObj; // Number of Alignable Objects | |
38 | TObjArray *fTOFAlignObjArray; // Pointer to the TOF alignable objects | |
39 | ClassDef(AliTOFAlignment,1) // TOF Alignment | |
40 | }; | |
41 | ||
42 | #endif |