]>
Commit | Line | Data |
---|---|---|
b33ed6c7 | 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 | #include "AliAlignObj.h" | |
13 | ||
14 | class AliTOFAlignment :public TTask{ | |
15 | ||
16 | enum {kMaxAlignObj=2000}; //maximal number of the TOF Alignable Objects | |
17 | ||
18 | public: | |
19 | ||
20 | AliTOFAlignment(); | |
21 | AliTOFAlignment(const AliTOFAlignment &t); //Copy Ctor | |
22 | virtual ~AliTOFAlignment() {delete fTOFAlignObjArray;} | |
23 | virtual void WriteParOnCDB(Char_t *sel, Int_t minrun, Int_t maxrun); | |
24 | virtual void ReadParFromCDB(Char_t *sel, Int_t nrun); | |
25 | virtual void WriteSimParOnCDB(Char_t *sel, Int_t minrun, Int_t maxrun); | |
26 | virtual void ReadSimParFromCDB(Char_t *sel, Int_t nrun); | |
27 | virtual void Smear(Float_t *tr=0, Float_t *rot=0); // create a set of AlignObj for TOF | |
28 | virtual void Align(Float_t *tr=0, Float_t *rot=0); // create a set of AlignObj for TOF | |
29 | ||
30 | private: | |
31 | ||
32 | Int_t fNTOFAlignObj; // Number of Alignable Objects | |
33 | TObjArray *fTOFAlignObjArray; | |
34 | ClassDef(AliTOFAlignment,1) // TOF Alignment | |
35 | }; | |
36 | ||
37 | #endif | |
38 |