10 #ifndef ALIHLTTPCCAGBHIT_H
11 #define ALIHLTTPCCAGBHIT_H
13 #include "AliHLTTPCCADef.h"
31 : fX( 0 ), fY( 0 ), fZ( 0 ), fErrX( 0 ), fErrY( 0 ), fErrZ( 0 ), fAmp( 0 ),
32 fISlice( 0 ), fIRow( 0 ), fID( 0 ), fIsUsed( 0 ) {}
34 float X()
const {
return fX; }
35 float Y()
const {
return fY; }
36 float Z()
const {
return fZ; }
38 float ErrX()
const {
return fErrX; }
39 float ErrY()
const {
return fErrY; }
40 float ErrZ()
const {
return fErrZ; }
41 float Amp()
const {
return fAmp; }
43 int ISlice()
const {
return fISlice; }
44 int IRow()
const {
return fIRow; }
45 int ID()
const {
return fID; }
46 bool IsUsed()
const {
return fIsUsed; };
48 void SetX(
float v ) { fX = v; }
49 void SetY(
float v ) { fY = v; }
50 void SetZ(
float v ) { fZ = v; }
51 void SetErrX(
float v ) { fErrX = v; }
52 void SetErrY(
float v ) { fErrY = v; }
53 void SetErrZ(
float v ) { fErrZ = v; }
54 void SetAmp(
float v ) { fAmp = v; }
55 void SetISlice(
int v ) { fISlice = v; }
56 void SetIRow(
int v ) { fIRow = v; }
57 void SetID(
int v ) { fID = v; }
58 void SetIsUsed(
bool v ) { fIsUsed = v; };
66 return ( a.fIRow > b.fIRow );
71 return ( a->fIRow > b->fIRow );
107 if ( a.fISlice < b.fISlice )
return 1;
108 if ( a.fISlice > b.fISlice )
return 0;
109 if ( a.fIRow < b.fIRow )
return 1;
110 if ( a.fIRow > b.fIRow )
return 0;
111 return ( a.fZ < b.fZ );
static bool ComparePRowDown(const AliHLTTPCCAGBHit *a, const AliHLTTPCCAGBHit *b)
static bool Compare(const AliHLTTPCCAGBHit &a, const AliHLTTPCCAGBHit &b)
Hits reordering in accordance with the geometry and the track-finder needs: Hits are sorted by sector...
static bool CompareRowDown(const AliHLTTPCCAGBHit &a, const AliHLTTPCCAGBHit &b)
Hits reordering in accordance with the geometry and the track-finder needs: Hits are sorted by sector...