]>
Commit | Line | Data |
---|---|---|
66954e3f | 1 | #ifndef ALITPCTRANSFORM_H |
2 | #define ALITPCTRANSFORM_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | // | |
10 | // Class for tranformation of the coordinate frame | |
11 | // Transformation | |
12 | // local coordinate frame (sector, padrow, pad, timebine) ==> | |
13 | // rotated global (tracking) cooridnate frame (sector, lx,ly,lz) | |
14 | // | |
c1bdda91 | 15 | |
c1bdda91 | 16 | #include "AliTransform.h" |
17 | ||
18 | class AliTPCTransform:public AliTransform { | |
19 | public: | |
20 | AliTPCTransform(); | |
21 | virtual ~AliTPCTransform(); | |
22 | virtual void Transform(Double_t *x,Int_t *i,UInt_t time, | |
23 | Int_t coordinateType); | |
24 | protected: | |
24db6af7 | 25 | void Local2RotatedGlobal(Int_t sec, Double_t *x) const; |
c1bdda91 | 26 | void RotatedGlobal2Global(Int_t sector,Double_t *x) const; |
27 | void Global2RotatedGlobal(Int_t sector,Double_t *x) const; | |
28 | void GetCosAndSin(Int_t sector,Double_t &cos,Double_t &sin) const; | |
29 | private: | |
66954e3f | 30 | Double_t fCoss[18]; // cache the transformation |
31 | Double_t fSins[18]; // cache the transformation | |
c1bdda91 | 32 | |
33 | ClassDef(AliTPCTransform,1) | |
34 | }; | |
35 | ||
36 | #endif |