]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliComplexCluster.cxx
New Clusterization by IHEP (yuri)
[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
16/*
17$Log$
5c84b1d4 18Revision 1.1 2000/10/05 16:17:27 kowal2
19New class replacing AliCluster
20
c9787763 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
41ClassImp(AliComplexCluster)
42//_____________________________________________________________________________
5c84b1d4 43Int_t AliComplexCluster::Compare(const TObject * o) const
c9787763 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
53Bool_t AliComplexCluster::IsSortable() const
54{
55 //
56 //make AliComplexCluster sortabale
57 return kTRUE;
58}
59
60ClassImp(AliDigitCluster)
61ClassImp(AliDifCluster)