Defining properly momentum components in AliMUONHit constructors (thanks Artur)
[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
41cfdca1 16/*
17$Log$
018a927a 18Revision 1.6 2003/11/24 09:43:03 kowal2
19Obsolete - removed
20
9b1855ba 21Revision 1.5 2003/09/29 11:27:39 kowal2
22new classes added
23
41cfdca1 24Revision 1.3 2002/11/15 14:27:45 hristov
25First version of the parallel TPC tracking (M.Ivanov)
26
27Revision 1.2 2001/02/05 14:43:13 hristov
28Compare() declared const
29
30Revision 1.1 2000/10/05 16:17:27 kowal2
31New class replacing AliCluster
32
33
34*/
c9787763 35
36///////////////////////////////////////////////////////////////////////////////
37// //
38// Time Projection Chamber clusters objects //
39//
40// Origin: Marian Ivanov , GSI Darmstadt
41// //
42//Begin_Html
43/*
44<img src="gif/AliTPCCluster.gif">
45*/
46//End_Html
47// //
48// //
49///////////////////////////////////////////////////////////////////////////////
50
51#include "AliComplexCluster.h"
52
018a927a 53
c9787763 54ClassImp(AliComplexCluster)
55//_____________________________________________________________________________
5c84b1d4 56Int_t AliComplexCluster::Compare(const TObject * o) const
c9787763 57{
58 //
59 // compare two clusters according y coordinata
60 AliComplexCluster *cl= (AliComplexCluster *)o;
61 if (fY<cl->fY) return -1;
62 if (fY==cl->fY) return 0;
63 return 1;
64}
65
66Bool_t AliComplexCluster::IsSortable() const
67{
68 //
69 //make AliComplexCluster sortabale
70 return kTRUE;
71}
72
1c53abe2 73ClassImp(AliTPCExactPoint)
74ClassImp(AliTPCClusterPoint)
75ClassImp(AliTPCTrackerPoint)
76ClassImp(AliTPCTrackPoint)
41cfdca1 77ClassImp(AliTPCTrackPoint2)
1c53abe2 78ClassImp(AliTPCTrackPointRef)
79
80