10 #ifndef ALIHLTTPCCAROW_H
11 #define ALIHLTTPCCAROW_H
13 #include "AliHLTTPCCADef.h"
14 #include "AliHLTTPCCAGrid.h"
17 typedef float16 StoredFloat;
19 typedef float StoredFloat;
34 AliHLTTPCCARow(): fGrid(), fNHits(0), fMaxY(0), fHitNumberOffset(0), fLinkUpData(0), fLinkDownData(0),
35 fHitDataY(0), fHitDataZ(0), fHitDataIsUsed(0), fClusterDataIndex(0), fHitWeights(0), fFirstHitInBin(0) {}
37 short NHits()
const {
return fNHits; }
39 float MaxY()
const {
return fMaxY; }
42 int HitNumberOffset()
const {
return fHitNumberOffset; }
44 void StoreToFile( FILE *f,
const char *startPtr )
const;
45 void RestoreFromFile( FILE *f,
char *startPtr );
47 static inline short_v NHits(
const AliHLTTPCCARow *array,
const ushort_v &indexes ) {
return short_v( array, &AliHLTTPCCARow::fNHits, indexes ); }
48 static inline short_v NHits(
const AliHLTTPCCARow *array,
const ushort_v &indexes,
const ushort_m &mask ) {
return short_v( array, &AliHLTTPCCARow::fNHits, indexes, mask ); }
62 StoredFloat *fHitDataY;
63 StoredFloat *fHitDataZ;
65 short *fHitDataIsUsed;
67 int *fClusterDataIndex;
69 unsigned short *fHitWeights;
74 unsigned short *fFirstHitInBin;