21 #ifndef ALIHLTTPCCASTARTHITID_H
22 #define ALIHLTTPCCASTARTHITID_H
24 #include "AliHLTTPCCAHitId.h"
25 #include "AliHLTTPCCADef.h"
30 inline void Set(
unsigned short row,
unsigned short hit,
unsigned short length ) { fRow = row; fHit = hit; fLength = length; }
31 inline short RowIndex()
const {
return fRow; }
32 inline unsigned short HitIndex()
const {
return fHit; }
33 inline unsigned short Length()
const {
return fLength; }
36 const int rowStep = AliHLTTPCCAParameters::RowStep;
37 assert( rowStep <= 2 );
38 const bool lL = fLength < rhs.fLength;
42 lR = ( fRow & 1 ) < ( rhs.fRow & 1 )
43 || ( ( fRow & 1 ) == ( rhs.fRow & 1 ) && fRow < rhs.fRow );
44 eR = fRow == rhs.fRow;
48 eR = fRow == rhs.fRow;
51 return lR || (eR && lL);
54 unsigned short fLength;
57 #endif // ALIHLTTPCCASTARTHITID_H