4 //* This file is property of and copyright by the ALICE HLT Project *
5 //* ALICE Experiment at CERN, All rights reserved. *
6 //* See cxx source for full Copyright notice *
8 #ifndef ALIHLTTPCCAROW_H
9 #define ALIHLTTPCCAROW_H
14 #include "AliHLTTPCCAHit.h"
15 #include "AliHLTTPCCACell.h"
18 * @class ALIHLTTPCCARow
20 * The ALIHLTTPCCARow class is a hit and cells container for one TPC row.
21 * It is the internal class of the AliHLTTPCCATracker algorithm.
29 AliHLTTPCCARow ( const AliHLTTPCCARow &);
30 AliHLTTPCCARow &operator=( const AliHLTTPCCARow &);
32 virtual ~AliHLTTPCCARow(){ Clear(); }
34 AliHLTTPCCAHit *&Hits() { return fHits; }
35 AliHLTTPCCACell *&Cells(){ return fCells;}
36 Int_t *&CellHitPointers() { return fCellHitPointers; }
38 Int_t &NHits() { return fNHits; }
39 Int_t &NCells() { return fNCells; }
40 Float_t &X() { return fX; }
42 AliHLTTPCCAHit &GetCellHit( AliHLTTPCCACell &c, Int_t i ){
43 //* get hit number i of the cell c
44 return fHits[fCellHitPointers[c.FirstHitRef()+i]];
51 AliHLTTPCCAHit *fHits; // hit array
52 AliHLTTPCCACell *fCells; // cell array
53 Int_t *fCellHitPointers; // pointers cell->hits
54 Int_t fNHits, fNCells; // number of hits and cells
55 Float_t fX; // X coordinate of the row
57 ClassDef(AliHLTTPCCARow,1);