Bug fix in AliITStrackerV2 (first cluster not used) + possibility of using the V2...
[u/mrichter/AliRoot.git] / ITS / AliITStrackerV2.cxx
index 0597776f4516f629007abe15e679c00e2565d4b4..a44bcb442713eb1a2549282ef55a203f66805b8c 100644 (file)
@@ -1044,7 +1044,7 @@ Bool_t AliITStrackerV2::RefitAt(Double_t xx,AliITStrackV2 *t,
      Double_t maxchi2=kMaxChi2;
 
      Int_t idx=index[i];
-     if (idx>0) {
+     if (idx>=0) {
         const AliITSRecPoint *c=(AliITSRecPoint *)GetCluster(idx); 
         if (idet != c->GetDetectorIndex()) {
            idet=c->GetDetectorIndex();