Bugfix. Default argument was taken (J.Belikov)
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 May 2006 10:45:29 +0000 (10:45 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 May 2006 10:45:29 +0000 (10:45 +0000)
STEER/AliReconstruction.cxx

index 4768924..417388e 100644 (file)
@@ -686,7 +686,7 @@ Bool_t AliReconstruction::Run(const char* input,
       }
     }
 
-    esd->SetPrimaryVertex(tVertexer.FindVertex(esd));
+    esd->SetPrimaryVertex(tVertexer.FindPrimaryVertex(esd));
 
     // write ESD
     tree->Fill();
@@ -1072,7 +1072,7 @@ Bool_t AliReconstruction::RunTracking(AliESD*& esd)
     AliESDtrack * track = esd->GetTrack(itrack);
     if (!track) continue;
     if (track->IsOn(AliESDtrack::kITSrefit)) continue;
-    track->PropagateTo(kRadius, track->GetMass(),kMaxStep,kTRUE);
+    track->PropagateTo(kRadius, fieldZ, track->GetMass(),kMaxStep,kTRUE);
     track->RelateToVertex(esd->GetVertex(),fieldZ, kMaxD);
   }