]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/util/AliHLTGlobalBarrelTrack.h
Cluster indices are published via AliKalmanTrack::GetClusterIndex()
[u/mrichter/AliRoot.git] / HLT / BASE / util / AliHLTGlobalBarrelTrack.h
index c9afd6f97c6e46d8953fde6fadf6e1f7dddc68a4..dcab73d0c89779ebb0d0cc73a65374f356dd936d 100644 (file)
@@ -40,6 +40,11 @@ class AliHLTGlobalBarrelTrack : public AliKalmanTrack
   /** destructor */
   ~AliHLTGlobalBarrelTrack();
 
+  /// inherited from AliKalmanTrack
+  Int_t GetClusterIndex(Int_t i) const { 
+    return (i<fPoints.size()) ?fPoints[i] :0;
+  } 
+
   /// Get the x position of the last assigned point
   Double_t GetLastPointX() const {return fLastX;}
   /// Get the y position of the last assigned point
@@ -75,10 +80,7 @@ class AliHLTGlobalBarrelTrack : public AliKalmanTrack
  protected:
 
  private:
-  /// inherited from AliKalmanTrack, dummy implementation
-  virtual Int_t GetClusterIndex(Int_t) const { 
-    return -1;
-  } 
+
   /// inherited from AliKalmanTrack, dummy implementation
   virtual Double_t GetPIDsignal() const {
     return 0.;