]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliComplexCluster.cxx
Add mapping objects (sector,pad,row ==> altro number, .....) (Marian, Jens)
[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.8  2004/03/30 14:09:22  kowal2
19 Changes due to the coding conventions
20
21 Revision 1.7  2003/11/24 09:48:28  kowal2
22 Changes to obey the coding conventions
23
24 Revision 1.6  2003/11/24 09:43:03  kowal2
25 Obsolete - removed
26
27 Revision 1.5  2003/09/29 11:27:39  kowal2
28 new classes added
29
30 Revision 1.3  2002/11/15 14:27:45  hristov
31 First version of the parallel TPC tracking (M.Ivanov)
32
33 Revision 1.2  2001/02/05 14:43:13  hristov
34 Compare() declared const
35
36 Revision 1.1  2000/10/05 16:17:27  kowal2
37 New class replacing AliCluster
38
39
40 */
41
42 ///////////////////////////////////////////////////////////////////////////////
43 //                                                                           //
44 //  Time Projection Chamber clusters objects                                //
45 //
46 //  Origin: Marian Ivanov , GSI Darmstadt
47 //                                                                           //
48 //Begin_Html
49 /*
50 <img src="gif/AliTPCCluster.gif">
51 */
52 //End_Html
53 //                                                                           //
54 //                                                                          //
55 ///////////////////////////////////////////////////////////////////////////////
56 // **************
57 //aaaaaaaaa
58 //aaaaaaaaa
59 //aaaaaaaaa
60 //aaaaaaaa
61 //aaaaaaaaaa
62
63 #include "AliComplexCluster.h"
64
65
66 ClassImp(AliComplexCluster)
67   //__________________________________________________________________
68   AliComplexCluster::AliComplexCluster()
69                     :TObject(),
70                      fX(0.),
71                      fY(0.),
72                      fQ(0.),
73                      fSigmaX2(0.),
74                      fSigmaY2(0.),
75                      fSigmaXY(0.),
76                      fArea(0.),
77                      fMax(0.)
78 {
79   //
80   // default constructor
81   //
82    fTracks[0]=fTracks[1]=fTracks[2]=0;
83 }
84 //_____________________________________________________________________________
85 Int_t AliComplexCluster::Compare(const TObject * o) const
86 {
87   //
88   // compare two clusters according y coordinata
89   AliComplexCluster *cl= (AliComplexCluster *)o;
90   if (fY<cl->fY) return -1;
91   if (fY==cl->fY) return 0;
92   return 1;  
93 }
94
95 Bool_t AliComplexCluster::IsSortable() const
96 {
97   //
98   //make AliComplexCluster sortabale
99   return kTRUE; 
100 }
101
102 ClassImp(AliTPCExactPoint)
103 ClassImp(AliTPCClusterPoint)
104 ClassImp(AliTPCTrackerPoint)
105 ClassImp(AliTPCTrackPoint)
106 ClassImp(AliTPCTrackPoint2)
107 ClassImp(AliTPCTrackPointRef)
108   //_______________________________________________________________
109