]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCAGPUTracker.h
update of the GPU tracker
[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 //Abstract Interface for GPU Tracker class
20 class AliHLTTPCCAGPUTracker
21 {
22 public:
23         AliHLTTPCCAGPUTracker();
24         virtual ~AliHLTTPCCAGPUTracker();
25
26         virtual int InitGPU(int sliceCount = -1, int forceDeviceID = -1);
27         virtual int Reconstruct(AliHLTTPCCASliceOutput** pOutput, AliHLTTPCCAClusterData* pClusterData, int fFirstSlice, int fSliceCount = -1);
28         virtual int ExitGPU();
29
30         virtual void SetDebugLevel(const int dwLevel, std::ostream* const NewOutFile = NULL);
31         virtual int SetGPUTrackerOption(char* OptionName, int OptionValue);
32
33         virtual unsigned long long int* PerfTimer(int iSlice, unsigned int i);
34
35         virtual int InitializeSliceParam(int iSlice, AliHLTTPCCAParam &param);
36         virtual void SetOutputControl( AliHLTTPCCASliceOutput::outputControlStruct* val);
37
38         virtual const AliHLTTPCCASliceOutput::outputControlStruct* OutputControl() const;
39         virtual int GetSliceCount() const;
40
41 private:
42         // disable copy
43         AliHLTTPCCAGPUTracker( const AliHLTTPCCAGPUTracker& );
44         AliHLTTPCCAGPUTracker &operator=( const AliHLTTPCCAGPUTracker& );
45 };
46
47 #endif //ALIHLTTPCCAGPUTRACKER_H