]>
Commit | Line | Data |
---|---|---|
00d07bcd | 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 | //************************************************************************* | |
00d07bcd | 8 | |
9 | #ifndef ALIHLTTPCCATRACKLETSELECTOR_H | |
10 | #define ALIHLTTPCCATRACKLETSELECTOR_H | |
11 | ||
12 | ||
13 | #include "AliHLTTPCCADef.h" | |
b22af1bf | 14 | #include "AliHLTTPCCAHitId.h" |
15 | #include "AliHLTTPCCAGPUConfig.h" | |
00d07bcd | 16 | class AliHLTTPCCATracker; |
17 | ||
18 | /** | |
19 | * @class AliHLTTPCCATrackletSelector | |
fbb9b71b | 20 | * |
00d07bcd | 21 | */ |
22 | class AliHLTTPCCATrackletSelector | |
23 | { | |
fbb9b71b | 24 | public: |
25 | class AliHLTTPCCASharedMemory | |
00d07bcd | 26 | { |
fbb9b71b | 27 | friend class AliHLTTPCCATrackletSelector; |
b22af1bf | 28 | |
29 | protected: | |
fbb9b71b | 30 | int fItr0; // index of the first track in the block |
31 | int fNThreadsTotal; // total n threads | |
32 | int fNTracklets; // n of tracklets | |
b22af1bf | 33 | #if HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE != 0 |
34 | AliHLTTPCCAHitId fHits[HLTCA_GPU_THREAD_COUNT][HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE]; | |
31649d4b | 35 | #endif //HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE != 0 |
b22af1bf | 36 | }; |
00d07bcd | 37 | |
fbb9b71b | 38 | GPUd() static int NThreadSyncPoints() { return 1; } |
39 | ||
40 | GPUd() static void Thread( int nBlocks, int nThreads, int iBlock, int iThread, int iSync, | |
41 | AliHLTTPCCASharedMemory &smem, AliHLTTPCCATracker &tracker ); | |
42 | ||
00d07bcd | 43 | }; |
44 | ||
45 | ||
31649d4b | 46 | #endif //ALIHLTTPCCATRACKLETSELECTOR_H |