Corrected UInt_t <-> Int_t conversion
[u/mrichter/AliRoot.git] / TPC / AliTPCvtpr.h
CommitLineData
9a1e27fe 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//_____________________________________________________________________________
17class AliTPCvtpr: public TObject{
18public:
19 AliTPCvtpr();
20 ~AliTPCvtpr();
21
b67657b5 22 AliTPCvtpr(Short_t max,Short_t nt,Short_t np,Short_t nr,Double_t x,Double_t y,Double_t t);
9a1e27fe 23 AliTPCvtpr(const AliTPCvtpr & param);
24 AliTPCvtpr & operator = (const AliTPCvtpr & param);
25
26
27 void SetAdc(Short_t q){fAdc=q;}
28 void SetTime(Short_t q){fTime=q;}
29 void SetPad(Short_t q){fPad=q;}
30 void SetRow(Short_t q){fRow=q;}
b67657b5 31 void SetX(Double_t q){fX=q;}
32 void SetY(Double_t q){fY=q;}
33 void SetT(Double_t q){fT=q;}
9a1e27fe 34
35 Short_t GetAdc(){return fAdc;}
36 Short_t GetTime(){return fTime;}
37 Short_t GetPad(){return fPad;}
38 Short_t GetRow(){return fRow;}
b67657b5 39 Double_t GetX(){return fX;}
40 Double_t GetY(){return fY;}
41 Double_t GetT(){return fT;}
9a1e27fe 42
43protected:
44 Short_t fAdc;
45 Short_t fTime;
46 Short_t fPad;
47 Short_t fRow;
b67657b5 48 Double_t fX;
49 Double_t fY;
50 Double_t fT;
51
9a1e27fe 52
53private:
54
b67657b5 55 ClassDef(AliTPCvtpr,3) // TPC coordinate class
9a1e27fe 56};
57
58#endif
59
60