Line data Source code
1 : #ifndef ALITPCVTPR_H
2 : #define ALITPCVTPR_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id: AliTPCclusterKr.h,v 1.8 2007/12/31 16:07:15 matyja Exp $ */
7 :
8 : //-------------------------------------------------------
9 : // TPC cordinate Class
10 : //
11 : // Origin: Adam Matyja, INP PAN, adam.matyja@ifj.edu.pl
12 : //-------------------------------------------------------
13 :
14 : #include "TObject.h"
15 :
16 : //_____________________________________________________________________________
17 : class AliTPCvtpr: public TObject{
18 : public:
19 : AliTPCvtpr();
20 : ~AliTPCvtpr();
21 :
22 : AliTPCvtpr(Short_t max,Short_t nt,Short_t np,Short_t nr,Double_t x,Double_t y,Double_t t);
23 : AliTPCvtpr(const AliTPCvtpr & param);
24 : AliTPCvtpr & operator = (const AliTPCvtpr & param);
25 :
26 :
27 0 : void SetAdc(Short_t q){fAdc=q;}
28 0 : void SetTime(Short_t q){fTime=q;}
29 0 : void SetPad(Short_t q){fPad=q;}
30 0 : void SetRow(Short_t q){fRow=q;}
31 0 : void SetX(Double_t q){fX=q;}
32 0 : void SetY(Double_t q){fY=q;}
33 0 : void SetT(Double_t q){fT=q;}
34 :
35 0 : Short_t GetAdc(){return fAdc;}
36 0 : Short_t GetTime(){return fTime;}
37 0 : Short_t GetPad(){return fPad;}
38 0 : Short_t GetRow(){return fRow;}
39 0 : Double_t GetX(){return fX;}
40 0 : Double_t GetY(){return fY;}
41 0 : Double_t GetT(){return fT;}
42 :
43 : protected:
44 : Short_t fAdc;
45 : Short_t fTime;
46 : Short_t fPad;
47 : Short_t fRow;
48 : Double_t fX;
49 : Double_t fY;
50 : Double_t fT;
51 :
52 :
53 : private:
54 :
55 16 : ClassDef(AliTPCvtpr,3) // TPC coordinate class
56 : };
57 :
58 : #endif
59 :
60 :
|