Removed completelly high noise at channel > 700 (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCvtpr.cxx
CommitLineData
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
26ClassImp(AliTPCvtpr)
27
28AliTPCvtpr::AliTPCvtpr()
29:fAdc(0),
30 fTime(0),
31 fPad(0),
b67657b5 32 fRow(0),
33 fX(0),
34 fY(0),
35 fT(0)
9a1e27fe 36{
37//
38// constructor
39//
40}
41
b67657b5 42AliTPCvtpr::AliTPCvtpr(Short_t max,Short_t nt,Short_t np,Short_t nr,Double_t x,Double_t y,Double_t t)
9a1e27fe 43:fAdc(0),
b67657b5 44 fTime(0),
45 fPad(0),
46 fRow(0),
47 fX(0),
48 fY(0),
49 fT(0)
9a1e27fe 50{
51//
52// another constructor
53//
54 fAdc=max;
55 fTime=nt;
56 fPad=np;
57 fRow=nr;
b67657b5 58 fX=x;
59 fY=y;
60 fT=t;
9a1e27fe 61}
62
63AliTPCvtpr::AliTPCvtpr(const AliTPCvtpr & param)
64:fAdc(0),
b67657b5 65 fTime(0),
66 fPad(0),
67 fRow(0),
68 fX(0),
69 fY(0),
70 fT(0)
9a1e27fe 71{
72//
73// copy constructor
74//
75 fAdc = param.fAdc;
76 fTime = param.fTime;
77 fPad = param.fPad;
78 fRow = param.fRow;
b67657b5 79 fX = param.fX;
80 fY = param.fY;
81 fT = param.fT;
9a1e27fe 82}
83
84AliTPCvtpr::~AliTPCvtpr()
85{
86 //
87 // destructor
88 //
89}
90
91AliTPCvtpr & AliTPCvtpr::operator = (const AliTPCvtpr & param)
92{
93 fAdc = param.fAdc;
94 fTime = param.fTime;
95 fPad = param.fPad;
96 fRow = param.fRow;
b67657b5 97 fX = param.fX;
98 fY = param.fY;
99 fT = param.fT;
100
9a1e27fe 101 return (*this);
102}