]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCTransform.h
Removed obsolete classes
[u/mrichter/AliRoot.git] / TPC / AliTPCTransform.h
CommitLineData
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
9430b11a 16class AliTPCRecoParam;
c1bdda91 17#include "AliTransform.h"
18
19class AliTPCTransform:public AliTransform {
20public:
21 AliTPCTransform();
9430b11a 22 AliTPCTransform(const AliTPCTransform& transform);
c1bdda91 23 virtual ~AliTPCTransform();
24 virtual void Transform(Double_t *x,Int_t *i,UInt_t time,
003b43ed 25 Int_t coordinateType);
26 void SetPrimVertex(Double_t *vtx);
24db6af7 27 void Local2RotatedGlobal(Int_t sec, Double_t *x) const;
c1bdda91 28 void RotatedGlobal2Global(Int_t sector,Double_t *x) const;
29 void Global2RotatedGlobal(Int_t sector,Double_t *x) const;
30 void GetCosAndSin(Int_t sector,Double_t &cos,Double_t &sin) const;
9430b11a 31 //
32 // set current values
33 //
34 void SetCurrentRecoParam(AliTPCRecoParam* param){fCurrentRecoParam=param;}
35 void SetCurrentRun(Int_t run){fCurrentRun=run;}
36 void SetCurrentTimeStamp(Int_t timeStamp){fCurrentTimeStamp=timeStamp;}
c1bdda91 37private:
66954e3f 38 Double_t fCoss[18]; // cache the transformation
39 Double_t fSins[18]; // cache the transformation
003b43ed 40 Double_t fPrimVtx[3];// position of the primary vertex - needed for TOF correction
9430b11a 41 AliTPCRecoParam * fCurrentRecoParam; //! current reconstruction parameters
42 Int_t fCurrentRun; //! current run
43 UInt_t fCurrentTimeStamp; //! current time stamp
c1bdda91 44 ClassDef(AliTPCTransform,1)
45};
46
47#endif