]>
Commit | Line | Data |
---|---|---|
1 | /************************************************************************** | |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | /* $Id: AliTPCcluster.cxx,v 1.7 2008/01/22 17:24:53 matyja Exp $ */ | |
17 | ||
18 | //----------------------------------------------------------------- | |
19 | // TPC cordinate Class | |
20 | // | |
21 | // Origin: Adam Matyja, INP PAN, adam.matyja@ifj.edu.pl | |
22 | //----------------------------------------------------------------- | |
23 | ||
24 | #include "AliTPCvtpr.h" | |
25 | ||
26 | ClassImp(AliTPCvtpr) | |
27 | ||
28 | AliTPCvtpr::AliTPCvtpr(): | |
29 | TObject(), | |
30 | fAdc(0), | |
31 | fTime(0), | |
32 | fPad(0), | |
33 | fRow(0), | |
34 | fX(0), | |
35 | fY(0), | |
36 | fT(0) | |
37 | { | |
38 | // | |
39 | // constructor | |
40 | // | |
41 | } | |
42 | ||
43 | AliTPCvtpr::AliTPCvtpr(Short_t max,Short_t nt,Short_t np,Short_t nr,Double_t x,Double_t y,Double_t t): | |
44 | TObject(), | |
45 | fAdc(0), | |
46 | fTime(0), | |
47 | fPad(0), | |
48 | fRow(0), | |
49 | fX(0), | |
50 | fY(0), | |
51 | fT(0) | |
52 | { | |
53 | // | |
54 | // another constructor | |
55 | // | |
56 | fAdc=max; | |
57 | fTime=nt; | |
58 | fPad=np; | |
59 | fRow=nr; | |
60 | fX=x; | |
61 | fY=y; | |
62 | fT=t; | |
63 | } | |
64 | ||
65 | AliTPCvtpr::AliTPCvtpr(const AliTPCvtpr & param): | |
66 | TObject(param), | |
67 | fAdc(0), | |
68 | fTime(0), | |
69 | fPad(0), | |
70 | fRow(0), | |
71 | fX(0), | |
72 | fY(0), | |
73 | fT(0) | |
74 | { | |
75 | // | |
76 | // copy constructor | |
77 | // | |
78 | fAdc = param.fAdc; | |
79 | fTime = param.fTime; | |
80 | fPad = param.fPad; | |
81 | fRow = param.fRow; | |
82 | fX = param.fX; | |
83 | fY = param.fY; | |
84 | fT = param.fT; | |
85 | } | |
86 | ||
87 | AliTPCvtpr::~AliTPCvtpr() | |
88 | { | |
89 | // | |
90 | // destructor | |
91 | // | |
92 | } | |
93 | ||
94 | AliTPCvtpr & AliTPCvtpr::operator = (const AliTPCvtpr & param) | |
95 | { | |
96 | fAdc = param.fAdc; | |
97 | fTime = param.fTime; | |
98 | fPad = param.fPad; | |
99 | fRow = param.fRow; | |
100 | fX = param.fX; | |
101 | fY = param.fY; | |
102 | fT = param.fT; | |
103 | ||
104 | return (*this); | |
105 | } |