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