Obsolete tracker output removed
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCATracklet.h
CommitLineData
251bbe89 1//-*- Mode: C++ -*-
ce565086 2// ************************************************************************
fbb9b71b 3// This file is property of and copyright by the ALICE HLT Project *
ce565086 4// ALICE Experiment at CERN, All rights reserved. *
5// See cxx source for full Copyright notice *
6// *
7//*************************************************************************
251bbe89 8
9#ifndef ALIHLTTPCCATRACKLET_H
10#define ALIHLTTPCCATRACKLET_H
11
12#include "AliHLTTPCCADef.h"
5cb6ddd4 13#include "AliHLTTPCCABaseTrackParam.h"
b22af1bf 14#include "AliHLTTPCCAGPUConfig.h"
251bbe89 15
16/**
17 * @class ALIHLTTPCCATracklet
18 *
19 * The class describes the reconstructed TPC track candidate.
20 * The class is dedicated for internal use by the AliHLTTPCCATracker algorithm.
21 */
22class AliHLTTPCCATracklet
23{
fbb9b71b 24 public:
251bbe89 25
26#if !defined(HLTCA_GPUCODE)
b22af1bf 27 AliHLTTPCCATracklet() : fNHits( 0 ), fFirstRow( 0 ), fLastRow( 0 ), fParam() {};
fbb9b71b 28 void Dummy() const ;
29 ~AliHLTTPCCATracklet() {}
31649d4b 30#endif //!HLTCA_GPUCODE
251bbe89 31
fbb9b71b 32 GPUhd() int NHits() const { return fNHits; }
33 GPUhd() int FirstRow() const { return fFirstRow; }
34 GPUhd() int LastRow() const { return fLastRow; }
5cb6ddd4 35 GPUhd() const AliHLTTPCCABaseTrackParam &Param() const { return fParam; }
b22af1bf 36#ifndef EXTERN_ROW_HITS
fbb9b71b 37 GPUhd() int RowHit( int i ) const { return fRowHits[i]; }
b22af1bf 38 GPUhd() const int* RowHits() const { return(fRowHits); }
31649d4b 39 GPUhd() void SetRowHit( int irow, int ih ) { fRowHits[irow] = ih; }
40#endif //EXTERN_ROW_HITS
fbb9b71b 41
fbb9b71b 42 GPUhd() void SetNHits( int v ) { fNHits = v; }
43 GPUhd() void SetFirstRow( int v ) { fFirstRow = v; }
44 GPUhd() void SetLastRow( int v ) { fLastRow = v; }
5cb6ddd4 45 GPUhd() void SetParam( const AliHLTTPCCABaseTrackParam &v ) { fParam = v; }
fbb9b71b 46
b22af1bf 47 private:
fbb9b71b 48 int fNHits; // N hits
49 int fFirstRow; // first TPC row
50 int fLastRow; // last TPC row
5cb6ddd4 51 AliHLTTPCCABaseTrackParam fParam; // tracklet parameters
b22af1bf 52#ifndef EXTERN_ROW_HITS
53 int fRowHits[HLTCA_ROW_COUNT + 1]; // hit index for each TPC row
31649d4b 54#endif //EXTERN_ROW_HITS
251bbe89 55};
56
31649d4b 57#endif //ALIHLTTPCCATRACKLET_H