]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliComplexCluster.cxx
Fixing ompilation warnings
[u/mrichter/AliRoot.git] / TPC / AliComplexCluster.cxx
CommitLineData
c9787763 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
41cfdca1 16/*
17$Log$
316c6cd9 18Revision 1.9 2006/11/06 16:07:15 kowal2
19Eff C++
20
179c6296 21Revision 1.8 2004/03/30 14:09:22 kowal2
22Changes due to the coding conventions
23
7fc8a284 24Revision 1.7 2003/11/24 09:48:28 kowal2
25Changes to obey the coding conventions
26
018a927a 27Revision 1.6 2003/11/24 09:43:03 kowal2
28Obsolete - removed
29
9b1855ba 30Revision 1.5 2003/09/29 11:27:39 kowal2
31new classes added
32
41cfdca1 33Revision 1.3 2002/11/15 14:27:45 hristov
34First version of the parallel TPC tracking (M.Ivanov)
35
36Revision 1.2 2001/02/05 14:43:13 hristov
37Compare() declared const
38
39Revision 1.1 2000/10/05 16:17:27 kowal2
40New class replacing AliCluster
41
42
43*/
c9787763 44
45///////////////////////////////////////////////////////////////////////////////
46// //
47// Time Projection Chamber clusters objects //
48//
49// Origin: Marian Ivanov , GSI Darmstadt
50// //
51//Begin_Html
52/*
53<img src="gif/AliTPCCluster.gif">
54*/
55//End_Html
56// //
57// //
58///////////////////////////////////////////////////////////////////////////////
7fc8a284 59// **************
60//aaaaaaaaa
61//aaaaaaaaa
62//aaaaaaaaa
63//aaaaaaaa
64//aaaaaaaaaa
c9787763 65
66#include "AliComplexCluster.h"
67
018a927a 68
c9787763 69ClassImp(AliComplexCluster)
179c6296 70 //__________________________________________________________________
71 AliComplexCluster::AliComplexCluster()
72 :TObject(),
73 fX(0.),
74 fY(0.),
75 fQ(0.),
76 fSigmaX2(0.),
77 fSigmaY2(0.),
78 fSigmaXY(0.),
79 fArea(0.),
80 fMax(0.)
81{
82 //
83 // default constructor
84 //
85 fTracks[0]=fTracks[1]=fTracks[2]=0;
86}
c9787763 87//_____________________________________________________________________________
5c84b1d4 88Int_t AliComplexCluster::Compare(const TObject * o) const
c9787763 89{
90 //
91 // compare two clusters according y coordinata
92 AliComplexCluster *cl= (AliComplexCluster *)o;
93 if (fY<cl->fY) return -1;
94 if (fY==cl->fY) return 0;
95 return 1;
96}
97
98Bool_t AliComplexCluster::IsSortable() const
99{
100 //
101 //make AliComplexCluster sortabale
102 return kTRUE;
103}
104
1c53abe2 105ClassImp(AliTPCExactPoint)
106ClassImp(AliTPCClusterPoint)
107ClassImp(AliTPCTrackerPoint)
316c6cd9 108
109AliTPCTrackerPoint& AliTPCTrackerPoint::operator=(const AliTPCTrackerPoint& o){
110 if(this!=&o){
111 fTX = o.fTX;
112 fTY = o.fTY;
113 fTZ = o.fTZ;
114 fTAngleZ = o.fTAngleZ;
115 fTAngleY = o.fTAngleY;
116 fSigmaZ = o.fSigmaZ;
117 fSigmaY = o.fSigmaY;
118 fErrZ = o.fErrZ;
119 fErrY = o.fErrY;
120 fIsShared = o.fIsShared;
121 }
122 return *this;
123}
124
1c53abe2 125ClassImp(AliTPCTrackPoint)
41cfdca1 126ClassImp(AliTPCTrackPoint2)
179c6296 127 //_______________________________________________________________
1c53abe2 128