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 *
7 //*************************************************************************
9 #ifndef ALIHLTTPCCANEIGHBOURSCLEANER_H
10 #define ALIHLTTPCCANEIGHBOURSCLEANER_H
13 #include "AliHLTTPCCADef.h"
15 class AliHLTTPCCATracker;
18 * @class AliHLTTPCCANeighboursCleaner
21 class AliHLTTPCCANeighboursCleaner
24 class AliHLTTPCCASharedMemory
26 friend class AliHLTTPCCANeighboursCleaner;
28 #if !defined(HLTCA_GPUCODE)
29 AliHLTTPCCASharedMemory()
30 : fIRow( 0 ), fIRowUp( 0 ), fIRowDn( 0 ), fNRows( 0 ), fNHits( 0 ) {}
31 AliHLTTPCCASharedMemory( const AliHLTTPCCASharedMemory& /*dummy*/ )
32 : fIRow( 0 ), fIRowUp( 0 ), fIRowDn( 0 ), fNRows( 0 ), fNHits( 0 ) {}
33 AliHLTTPCCASharedMemory& operator=( const AliHLTTPCCASharedMemory& /*dummy*/ ) { return *this; }
34 #endif //!HLTCA_GPUCODE
37 int fIRow; // current row index
38 int fIRowUp; // current row index
39 int fIRowDn; // current row index
40 int fNRows; // number of rows
41 int fNHits; // number of hits
44 GPUd() static int NThreadSyncPoints() { return 1; }
46 GPUd() static void Thread( int /*nBlocks*/, int nThreads, int iBlock, int iThread, int iSync,
47 AliHLTTPCCASharedMemory &smem, AliHLTTPCCATracker &tracker );
51 #endif //ALIHLTTPCCANEIGHBOURSCLEANER_H