]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCATrackletSelector.h
adding newline at end of file
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCATrackletSelector.h
1 //-*- Mode: C++ -*-
2 // ************************************************************************
3 // This file is property of and copyright by the ALICE HLT Project        *
4 // ALICE Experiment at CERN, All rights reserved.                         *
5 // See cxx source for full Copyright notice                               *
6 //                                                                        *
7 //*************************************************************************
8
9 #ifndef ALIHLTTPCCATRACKLETSELECTOR_H
10 #define ALIHLTTPCCATRACKLETSELECTOR_H
11
12
13 #include "AliHLTTPCCADef.h"
14 #include "AliHLTTPCCAHitId.h"
15 #include "AliHLTTPCCAGPUConfig.h"
16 class AliHLTTPCCATracker;
17
18 /**
19  * @class AliHLTTPCCATrackletSelector
20  *
21  */
22 class AliHLTTPCCATrackletSelector
23 {
24   public:
25     class AliHLTTPCCASharedMemory
26     {
27         friend class AliHLTTPCCATrackletSelector;
28
29         protected:
30         int fItr0; // index of the first track in the block
31         int fNThreadsTotal; // total n threads
32         int fNTracklets; // n of tracklets
33 #if HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE != 0
34                 AliHLTTPCCAHitId fHits[HLTCA_GPU_THREAD_COUNT][HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE];
35 #endif //HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE != 0
36         };
37
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
43 };
44
45
46 #endif //ALIHLTTPCCATRACKLETSELECTOR_H