]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCtrackerMI.cxx
1) In AliTPCseed::RefitTrack(), we now also take into account the accetance flag...
[u/mrichter/AliRoot.git] / TPC / AliTPCtrackerMI.cxx
index 168581a95bcd673a67ed24999d7f6b1d46eba523..f4aead8d36a0bcf80120ba5573baaec48e098772 100644 (file)
@@ -1641,9 +1641,15 @@ Int_t AliTPCtrackerMI::FollowToNext(AliTPCseed& t, Int_t nr) {
       if (TMath::Abs(angle-t.GetAlpha())>0.001){
        Double_t rotation = angle-t.GetAlpha();
        t.SetRelativeSector(relativesector);
-       if (!t.Rotate(rotation)) return 0;      
+       if (!t.Rotate(rotation)) {
+          t.SetClusterIndex(nr, t.GetClusterIndex(nr) | 0x8000);
+          return 0;
+        }      
+      }
+      if (!t.PropagateTo(x)) {
+        t.SetClusterIndex(nr, t.GetClusterIndex(nr) | 0x8000);
+        return 0;
       }
-      if (!t.PropagateTo(x)) return 0;
       //
       t.SetCurrentCluster(cl); 
       t.SetRow(nr);