]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCvtpr.cxx
Adding fit parameterization of the magnetic field inside of the TPC
[u/mrichter/AliRoot.git] / TPC / AliTPCvtpr.cxx
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   fX(0),
34   fY(0),
35   fT(0)
36 {
37 //
38 // constructor
39 //
40 }
41
42 AliTPCvtpr::AliTPCvtpr(Short_t max,Short_t nt,Short_t np,Short_t nr,Double_t x,Double_t y,Double_t t)
43 :fAdc(0),
44  fTime(0),
45  fPad(0),
46  fRow(0),
47  fX(0),
48  fY(0),
49  fT(0)
50 {
51 //
52 // another constructor
53 //
54   fAdc=max;
55   fTime=nt;
56   fPad=np;
57   fRow=nr;
58   fX=x;
59   fY=y;
60   fT=t;
61 }
62
63 AliTPCvtpr::AliTPCvtpr(const AliTPCvtpr & param)
64 :fAdc(0),
65  fTime(0),
66  fPad(0),
67  fRow(0),
68  fX(0),
69  fY(0),
70  fT(0)
71 {
72 //
73 // copy constructor
74 //
75   fAdc  = param.fAdc;
76   fTime = param.fTime;
77   fPad  = param.fPad;
78   fRow  = param.fRow;
79   fX = param.fX;
80   fY = param.fY;
81   fT = param.fT;
82 }
83
84 AliTPCvtpr::~AliTPCvtpr()
85 {
86   //
87   // destructor
88   //
89 }
90
91 AliTPCvtpr & AliTPCvtpr::operator = (const AliTPCvtpr & param)
92 {
93   fAdc  = param.fAdc;
94   fTime = param.fTime;
95   fPad  = param.fPad;
96   fRow  = param.fRow;
97   fX = param.fX;
98   fY = param.fY;
99   fT = param.fT;
100
101   return (*this);
102 }