]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliComplexCluster.cxx
Removed the implementation of the = operator. I guess TObject::Compare does something...
[u/mrichter/AliRoot.git] / TPC / AliComplexCluster.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 /*
17 $Log$
18 Revision 1.3  2002/11/15 14:27:45  hristov
19 First version of the parallel TPC tracking (M.Ivanov)
20
21 Revision 1.2  2001/02/05 14:43:13  hristov
22 Compare() declared const
23
24 Revision 1.1  2000/10/05 16:17:27  kowal2
25 New class replacing AliCluster
26
27
28 */
29
30 ///////////////////////////////////////////////////////////////////////////////
31 //                                                                           //
32 //  Time Projection Chamber clusters objects                                //
33 //
34 //  Origin: Marian Ivanov , GSI Darmstadt
35 //                                                                           //
36 //Begin_Html
37 /*
38 <img src="gif/AliTPCCluster.gif">
39 */
40 //End_Html
41 //                                                                           //
42 //                                                                          //
43 ///////////////////////////////////////////////////////////////////////////////
44
45 #include "AliComplexCluster.h"
46
47 ClassImp(AliComplexCluster)
48 //_____________________________________________________________________________
49 Int_t AliComplexCluster::Compare(const TObject * o) const
50 {
51   //
52   // compare two clusters according y coordinata
53   AliComplexCluster *cl= (AliComplexCluster *)o;
54   if (fY<cl->fY) return -1;
55   if (fY==cl->fY) return 0;
56   return 1;  
57 }
58
59 Bool_t AliComplexCluster::IsSortable() const
60 {
61   //
62   //make AliComplexCluster sortabale
63   return kTRUE; 
64 }
65
66 ClassImp(AliDigitCluster)
67 ClassImp(AliTPCExactPoint)
68 ClassImp(AliTPCClusterPoint)
69 ClassImp(AliTPCTrackerPoint)
70 ClassImp(AliTPCTrackPoint)
71 ClassImp(AliTPCTrackPoint2)
72 ClassImp(AliTPCTrackPointRef)
73
74