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