* which is used by the AliHLTTPCCATracker slice tracker.
*
*/
-class AliHLTTPCCATrackParam
+ MEM_CLASS_PRE() class AliHLTTPCCATrackParam
{
public:
float fBethe, fE, fTheta2, fEP2, fSigmadE2, fK22, fK33, fK43, fK44;// parameters
};
- GPUd() const AliHLTTPCCABaseTrackParam& GetParam() const { return fParam; }
- GPUd() void SetParam(const AliHLTTPCCABaseTrackParam& v) { fParam = v; }
+ GPUd() MakeType(const MEM_LG(AliHLTTPCCABaseTrackParam)&) GetParam() const { return fParam; }
+ GPUd() void SetParam(const MEM_LG(AliHLTTPCCABaseTrackParam)& v) { fParam = v; }
GPUd() void InitParam();
GPUd() float X() const { return fParam.X(); }
GPUd() float GetErr2DzDs() const { return fC[9]; }
GPUd() float GetErr2QPt() const { return fC[14]; }
- GPUhd() const float *Par() const { return fParam.Par(); }
+ GPUhd() MakeType(const float*) Par() const { return fParam.Par(); }
GPUhd() const float *Cov() const { return fC; }
GPUd() const float *GetPar() const { return fParam.GetPar(); }
#ifndef HLTCA_GPUCODE
private:
#endif //!HLTCA_GPUCODE
- AliHLTTPCCABaseTrackParam fParam; // Track Parameters
+ MEM_LG(AliHLTTPCCABaseTrackParam) fParam; // Track Parameters
private:
//WARNING, Track Param Data is copied in the GPU Tracklet Constructor element by element instead of using copy constructor!!!
int fNDF; // the Number of Degrees of Freedom
};
-GPUd() inline void AliHLTTPCCATrackParam::InitParam()
+ GPUd() MEM_CLASS_PRE() inline void MEM_LG(AliHLTTPCCATrackParam)::InitParam()
{
//Initialize Tracklet Parameters using default values
SetSinPhi( 0 );