]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliComplexCluster.cxx
Import gAlice from the signal file before InitGlobal() to allow detectors to use...
[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.1  2000/10/05 16:17:27  kowal2
19 New class replacing AliCluster
20
21
22 */
23
24 ///////////////////////////////////////////////////////////////////////////////
25 //                                                                           //
26 //  Time Projection Chamber clusters objects                                //
27 //
28 //  Origin: Marian Ivanov , GSI Darmstadt
29 //                                                                           //
30 //Begin_Html
31 /*
32 <img src="gif/AliTPCCluster.gif">
33 */
34 //End_Html
35 //                                                                           //
36 //                                                                          //
37 ///////////////////////////////////////////////////////////////////////////////
38
39 #include "AliComplexCluster.h"
40
41 ClassImp(AliComplexCluster)
42 //_____________________________________________________________________________
43 Int_t AliComplexCluster::Compare(const TObject * o) const
44 {
45   //
46   // compare two clusters according y coordinata
47   AliComplexCluster *cl= (AliComplexCluster *)o;
48   if (fY<cl->fY) return -1;
49   if (fY==cl->fY) return 0;
50   return 1;  
51 }
52
53 Bool_t AliComplexCluster::IsSortable() const
54 {
55   //
56   //make AliComplexCluster sortabale
57   return kTRUE; 
58 }
59
60 ClassImp(AliDigitCluster)
61 ClassImp(AliDifCluster)