Test the existence of the both kink hypothesies
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Dec 2010 16:50:48 +0000 (16:50 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Dec 2010 16:50:48 +0000 (16:50 +0000)
Marian

TPC/AliTPCtrackerMI.cxx

index 8e013e5..cc247c7 100644 (file)
@@ -5204,7 +5204,8 @@ void  AliTPCtrackerMI::FindKinks(TObjArray * array, AliESDEvent *esd)
     AliKink * kink0 = (AliKink*) kinks->At(indexes[ikink0]);
     if (!kink0) continue;
     //
-    for (Int_t ikink1=0;ikink1<ikink0;ikink1++){
+    for (Int_t ikink1=0;ikink1<ikink0;ikink1++){ 
+      kink0 = (AliKink*) kinks->At(indexes[ikink0]);
       if (!kink0) continue;
       AliKink * kink1 = (AliKink*) kinks->At(indexes[ikink1]);
       if (!kink1) continue;