]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliComplexCluster.cxx
Add support for 64 bits
[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 /* $Id$ */
17
18 ///////////////////////////////////////////////////////////////////////////////
19 //                                                                           //
20 //  Time Projection Chamber clusters objects                                //
21 //
22 //  Origin: Marian Ivanov , GSI Darmstadt
23 //                                                                           //
24 //Begin_Html
25 /*
26 <img src="gif/AliTPCCluster.gif">
27 */
28 //End_Html
29 //                                                                           //
30 //                                                                          //
31 ///////////////////////////////////////////////////////////////////////////////
32
33 #include "AliComplexCluster.h"
34
35 ClassImp(AliComplexCluster)
36 //_____________________________________________________________________________
37 Int_t AliComplexCluster::Compare(const TObject * o) const
38 {
39   //
40   // compare two clusters according y coordinata
41   AliComplexCluster *cl= (AliComplexCluster *)o;
42   if (fY<cl->fY) return -1;
43   if (fY==cl->fY) return 0;
44   return 1;  
45 }
46
47 Bool_t AliComplexCluster::IsSortable() const
48 {
49   //
50   //make AliComplexCluster sortabale
51   return kTRUE; 
52 }
53
54 ClassImp(AliDigitCluster)
55 ClassImp(AliTPCExactPoint)
56 ClassImp(AliTPCClusterPoint)
57 ClassImp(AliTPCTrackerPoint)
58 ClassImp(AliTPCTrackPoint)
59 ClassImp(AliTPCTrackPointRef)
60
61