]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCAGPUTracker.h
bug fix: reconstruction crash when the output buffer size exceed
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAGPUTracker.h
1 // ************************************************************************
2 // This file is property of and copyright by the ALICE HLT Project        *
3 // ALICE Experiment at CERN, All rights reserved.                         *
4 // See cxx source for full Copyright notice                               *
5 //                                                                        *
6 //*************************************************************************
7
8 #ifndef ALIHLTTPCCAGPUTRACKER_H
9 #define ALIHLTTPCCAGPUTRACKER_H
10
11 #include "AliHLTTPCCADef.h"
12 #include "AliHLTTPCCASliceOutput.h"
13 #include <iostream>
14
15 class AliHLTTPCCAClusterData;
16 class AliHLTTPCCASliceOutput;
17 class AliHLTTPCCAParam;
18
19 class AliHLTTPCCAGPUTracker
20 {
21 public:
22         AliHLTTPCCAGPUTracker();
23         virtual ~AliHLTTPCCAGPUTracker();
24
25         virtual int InitGPU(int sliceCount = 12, int forceDeviceID = -1);
26         virtual int Reconstruct(AliHLTTPCCASliceOutput** pOutput, AliHLTTPCCAClusterData* pClusterData, int fFirstSlice, int fSliceCount = -1);
27         virtual int ExitGPU();
28
29         virtual void SetDebugLevel(const int dwLevel, std::ostream* const NewOutFile = NULL);
30         virtual int SetGPUTrackerOption(char* OptionName, int OptionValue);
31
32         virtual unsigned long long int* PerfTimer(int iSlice, unsigned int i);
33
34         virtual int InitializeSliceParam(int iSlice, AliHLTTPCCAParam &param);
35         virtual void SetOutputControl( AliHLTTPCCASliceOutput::outputControlStruct* val);
36
37         virtual const AliHLTTPCCASliceOutput::outputControlStruct* OutputControl() const;
38         virtual int GetSliceCount() const;
39
40 private:
41         // disable copy
42         AliHLTTPCCAGPUTracker( const AliHLTTPCCAGPUTracker& );
43         AliHLTTPCCAGPUTracker &operator=( const AliHLTTPCCAGPUTracker& );
44 };
45
46 #endif //ALIHLTTPCCAGPUTRACKER_H