]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliComplexCluster.cxx
new functionality added
[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
88cb7938 16/* $Id$ */
c9787763 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
35ClassImp(AliComplexCluster)
36//_____________________________________________________________________________
5c84b1d4 37Int_t AliComplexCluster::Compare(const TObject * o) const
c9787763 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
47Bool_t AliComplexCluster::IsSortable() const
48{
49 //
50 //make AliComplexCluster sortabale
51 return kTRUE;
52}
53
54ClassImp(AliDigitCluster)
1c53abe2 55ClassImp(AliTPCExactPoint)
56ClassImp(AliTPCClusterPoint)
57ClassImp(AliTPCTrackerPoint)
58ClassImp(AliTPCTrackPoint)
59ClassImp(AliTPCTrackPointRef)
60
61