]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/tracking-ca/AliHLTTPCCATrackParam.h
bug fix: reconstruction crash when the output buffer size exceed
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCATrackParam.h
index e5a0f66427c6b4e7fee5c8ebfbbf4446ef20c1cf..c2c2c1145485b2760a15868b2f5b003dff44e4f0 100644 (file)
@@ -77,7 +77,7 @@ class AliHLTTPCCATrackParam
     GPUd() const float *GetPar() const { return fParam.GetPar(); }
        GPUd() float GetPar(int i) const { return(fParam.GetPar(i)); }
     GPUd() const float *GetCov() const { return fC; }
-       GPUd() float GetCov(int i) {return fC[i]; }
+       GPUd() float GetCov(int i) const {return fC[i]; }
 
     GPUhd() void SetPar( int i, float v ) { fParam.SetPar(i, v); }
     GPUhd() void SetCov( int i, float v ) { fC[i] = v; }
@@ -137,6 +137,9 @@ class AliHLTTPCCATrackParam
 
     GPUd() void Print() const;
 
+#ifndef HLTCA_GPUCODE
+  private:
+#endif //!HLTCA_GPUCODE
        AliHLTTPCCATrackParam2 fParam; // Track Parameters
 
   private:
@@ -175,4 +178,4 @@ GPUd() inline void AliHLTTPCCATrackParam::InitParam()
   SetCov( 14, 10. );
 }
 
-#endif
+#endif //ALIHLTTPCCATRACKPARAM_H