]>
Commit | Line | Data |
---|---|---|
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.9 2006/11/06 16:07:15 kowal2 | |
19 | Eff C++ | |
20 | ||
21 | Revision 1.8 2004/03/30 14:09:22 kowal2 | |
22 | Changes due to the coding conventions | |
23 | ||
24 | Revision 1.7 2003/11/24 09:48:28 kowal2 | |
25 | Changes to obey the coding conventions | |
26 | ||
27 | Revision 1.6 2003/11/24 09:43:03 kowal2 | |
28 | Obsolete - removed | |
29 | ||
30 | Revision 1.5 2003/09/29 11:27:39 kowal2 | |
31 | new classes added | |
32 | ||
33 | Revision 1.3 2002/11/15 14:27:45 hristov | |
34 | First version of the parallel TPC tracking (M.Ivanov) | |
35 | ||
36 | Revision 1.2 2001/02/05 14:43:13 hristov | |
37 | Compare() declared const | |
38 | ||
39 | Revision 1.1 2000/10/05 16:17:27 kowal2 | |
40 | New class replacing AliCluster | |
41 | ||
42 | ||
43 | */ | |
44 | ||
45 | /////////////////////////////////////////////////////////////////////////////// | |
46 | // // | |
47 | // Time Projection Chamber clusters objects // | |
48 | // | |
49 | // Origin: Marian Ivanov , GSI Darmstadt | |
50 | // // | |
51 | //Begin_Html | |
52 | /* | |
53 | <img src="gif/AliTPCCluster.gif"> | |
54 | */ | |
55 | //End_Html | |
56 | // // | |
57 | // // | |
58 | /////////////////////////////////////////////////////////////////////////////// | |
59 | // ************** | |
60 | //aaaaaaaaa | |
61 | //aaaaaaaaa | |
62 | //aaaaaaaaa | |
63 | //aaaaaaaa | |
64 | //aaaaaaaaaa | |
65 | ||
66 | #include "AliComplexCluster.h" | |
67 | ||
68 | ||
69 | ClassImp(AliComplexCluster) | |
70 | //__________________________________________________________________ | |
71 | AliComplexCluster::AliComplexCluster() | |
72 | :TObject(), | |
73 | fX(0.), | |
74 | fY(0.), | |
75 | fQ(0.), | |
76 | fSigmaX2(0.), | |
77 | fSigmaY2(0.), | |
78 | fSigmaXY(0.), | |
79 | fArea(0.), | |
80 | fMax(0.) | |
81 | { | |
82 | // | |
83 | // default constructor | |
84 | // | |
85 | fTracks[0]=fTracks[1]=fTracks[2]=0; | |
86 | } | |
87 | //_____________________________________________________________________________ | |
88 | Int_t AliComplexCluster::Compare(const TObject * o) const | |
89 | { | |
90 | // | |
91 | // compare two clusters according y coordinata | |
92 | AliComplexCluster *cl= (AliComplexCluster *)o; | |
93 | if (fY<cl->fY) return -1; | |
94 | if (fY==cl->fY) return 0; | |
95 | return 1; | |
96 | } | |
97 | ||
98 | Bool_t AliComplexCluster::IsSortable() const | |
99 | { | |
100 | // | |
101 | //make AliComplexCluster sortabale | |
102 | return kTRUE; | |
103 | } | |
104 | ||
105 | ClassImp(AliTPCExactPoint) | |
106 | ClassImp(AliTPCClusterPoint) | |
107 | ClassImp(AliTPCTrackerPoint) | |
108 | ||
109 | AliTPCTrackerPoint& AliTPCTrackerPoint::operator=(const AliTPCTrackerPoint& o){ | |
110 | if(this!=&o){ | |
111 | fTX = o.fTX; | |
112 | fTY = o.fTY; | |
113 | fTZ = o.fTZ; | |
114 | fTAngleZ = o.fTAngleZ; | |
115 | fTAngleY = o.fTAngleY; | |
116 | fSigmaZ = o.fSigmaZ; | |
117 | fSigmaY = o.fSigmaY; | |
118 | fErrZ = o.fErrZ; | |
119 | fErrY = o.fErrY; | |
120 | fIsShared = o.fIsShared; | |
121 | } | |
122 | return *this; | |
123 | } | |
124 | ||
125 | ClassImp(AliTPCTrackPoint) | |
126 | ClassImp(AliTPCTrackPoint2) | |
127 | //_______________________________________________________________ | |
128 |