]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/tracking-ca/AliHLTTPCCANeighboursCleaner.h
GPU tracker update
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCANeighboursCleaner.h
CommitLineData
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 ALIHLTTPCCANEIGHBOURSCLEANER_H
10#define ALIHLTTPCCANEIGHBOURSCLEANER_H
11
12
13#include "AliHLTTPCCADef.h"
14
15class AliHLTTPCCATracker;
16
17/**
18 * @class AliHLTTPCCANeighboursCleaner
fbb9b71b 19 *
00d07bcd 20 */
21class AliHLTTPCCANeighboursCleaner
22{
fbb9b71b 23 public:
24 class AliHLTTPCCASharedMemory
00d07bcd 25 {
fbb9b71b 26 friend class AliHLTTPCCANeighboursCleaner;
27 public:
00d07bcd 28#if !defined(HLTCA_GPUCODE)
fbb9b71b 29 AliHLTTPCCASharedMemory()
4acc2401 30 : fIRow( 0 ), fIRowUp( 0 ), fIRowDn( 0 ), fNRows( 0 ), fNHits( 0 ) {}
fbb9b71b 31 AliHLTTPCCASharedMemory( const AliHLTTPCCASharedMemory& /*dummy*/ )
4acc2401 32 : fIRow( 0 ), fIRowUp( 0 ), fIRowDn( 0 ), fNRows( 0 ), fNHits( 0 ) {}
fbb9b71b 33 AliHLTTPCCASharedMemory& operator=( const AliHLTTPCCASharedMemory& /*dummy*/ ) { return *this; }
31649d4b 34#endif //!HLTCA_GPUCODE
7be9b0d7 35
fbb9b71b 36 protected:
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
00d07bcd 42 };
43
fbb9b71b 44 GPUd() static int NThreadSyncPoints() { return 1; }
00d07bcd 45
fbb9b71b 46 GPUd() static void Thread( int /*nBlocks*/, int nThreads, int iBlock, int iThread, int iSync,
47 AliHLTTPCCASharedMemory &smem, AliHLTTPCCATracker &tracker );
00d07bcd 48};
49
50
31649d4b 51#endif //ALIHLTTPCCANEIGHBOURSCLEANER_H