]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCAGPUTracker.h
Temporary protection if one runs raw->sdigits for the real data.
[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 = 12, int forceDeviceID = -1);
27         virtual int Reconstruct(AliHLTTPCCASliceOutput** pOutput, AliHLTTPCCAClusterData* pClusterData, int fFirstSlice, int fSliceCount = -1);
28         virtual int ReconstructPP(AliHLTTPCCASliceOutput** pOutput, AliHLTTPCCAClusterData* pClusterData, int fFirstSlice, int fSliceCount = -1);
29         virtual int ExitGPU();
30
31         virtual void SetDebugLevel(const int dwLevel, std::ostream* const NewOutFile = NULL);
32         virtual int SetGPUTrackerOption(char* OptionName, int OptionValue);
33
34         virtual unsigned long long int* PerfTimer(int iSlice, unsigned int i);
35
36         virtual int InitializeSliceParam(int iSlice, AliHLTTPCCAParam &param);
37         virtual void SetOutputControl( AliHLTTPCCASliceOutput::outputControlStruct* val);
38
39         virtual const AliHLTTPCCASliceOutput::outputControlStruct* OutputControl() const;
40         virtual int GetSliceCount() const;
41
42 private:
43         // disable copy
44         AliHLTTPCCAGPUTracker( const AliHLTTPCCAGPUTracker& );
45         AliHLTTPCCAGPUTracker &operator=( const AliHLTTPCCAGPUTracker& );
46 };
47
48 #endif //ALIHLTTPCCAGPUTRACKER_H