Record changes.
[u/mrichter/AliRoot.git] / TPC / AliTPCTransform.h
1 #ifndef ALI_TPC_TRANSFORM_H
2 #define ALI_TPC_TRANSFORM_H
3
4 #include "TGeoMatrix.h"
5 #include "AliTransform.h"
6
7 class AliTPCTransform:public AliTransform {
8 public:
9   AliTPCTransform();
10   virtual ~AliTPCTransform();
11   virtual void Transform(Double_t *x,Int_t *i,UInt_t time,
12                          Int_t coordinateType);
13 protected:
14   void Pad2RotatedGlobal(Int_t pad,Int_t row,Double_t *x) const;
15   void RotatedGlobal2Global(Int_t sector,Double_t *x) const;
16   void Global2RotatedGlobal(Int_t sector,Double_t *x) const;
17   void GetCosAndSin(Int_t sector,Double_t &cos,Double_t &sin) const;
18 private:
19   Double_t fCoss[18];
20   Double_t fSins[18];
21
22   ClassDef(AliTPCTransform,1)
23 };
24
25 #endif