]>
Commit | Line | Data |
---|---|---|
9a1e27fe | 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 | :fAdc(0), | |
30 | fTime(0), | |
31 | fPad(0), | |
32 | fRow(0) | |
33 | { | |
34 | // | |
35 | // constructor | |
36 | // | |
37 | } | |
38 | ||
39 | AliTPCvtpr::AliTPCvtpr(Short_t max,Short_t nt,Short_t np,Short_t nr) | |
40 | :fAdc(0), | |
41 | fTime(0), | |
42 | fPad(0), | |
43 | fRow(0) | |
44 | { | |
45 | // | |
46 | // another constructor | |
47 | // | |
48 | fAdc=max; | |
49 | fTime=nt; | |
50 | fPad=np; | |
51 | fRow=nr; | |
52 | } | |
53 | ||
54 | AliTPCvtpr::AliTPCvtpr(const AliTPCvtpr & param) | |
55 | :fAdc(0), | |
56 | fTime(0), | |
57 | fPad(0), | |
58 | fRow(0) | |
59 | { | |
60 | // | |
61 | // copy constructor | |
62 | // | |
63 | fAdc = param.fAdc; | |
64 | fTime = param.fTime; | |
65 | fPad = param.fPad; | |
66 | fRow = param.fRow; | |
67 | } | |
68 | ||
69 | AliTPCvtpr::~AliTPCvtpr() | |
70 | { | |
71 | // | |
72 | // destructor | |
73 | // | |
74 | } | |
75 | ||
76 | AliTPCvtpr & AliTPCvtpr::operator = (const AliTPCvtpr & param) | |
77 | { | |
78 | fAdc = param.fAdc; | |
79 | fTime = param.fTime; | |
80 | fPad = param.fPad; | |
81 | fRow = param.fRow; | |
82 | return (*this); | |
83 | } |