]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFAlignment.h
Bug fix
[u/mrichter/AliRoot.git] / TOF / AliTOFAlignment.h
CommitLineData
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"
0e46b9ae 12
13class TObjArray;
b33ed6c7 14
15class AliTOFAlignment :public TTask{
16
e78d8265 17 enum {kMaxAlignObj=2000}; //maximal number of the TOF Alignable Objects
b33ed6c7 18
e78d8265 19 public:
b33ed6c7 20
e78d8265 21 AliTOFAlignment();
22 AliTOFAlignment(const AliTOFAlignment &t); //Copy Ctor
23 AliTOFAlignment& operator=(const AliTOFAlignment &source); // Assignment Operator
24 virtual ~AliTOFAlignment();
b33ed6c7 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
28dd10b6 31 virtual void WriteOnCDBforDC();
32 virtual void ReadFromCDBforDC();
33 TObjArray * GetTOFAlignArray() const {return fTOFAlignObjArray;}
b33ed6c7 34
35private:
36
7aeeaf38 37 Int_t fNTOFAlignObj; // Number of Alignable Objects
38 TObjArray *fTOFAlignObjArray; // Pointer to the TOF alignable objects
39 ClassDef(AliTOFAlignment,1) // TOF Alignment
b33ed6c7 40};
41
42#endif