Copy/paste error fixed (Yu.Belikov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 May 2006 21:08:34 +0000 (21:08 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 24 May 2006 21:08:34 +0000 (21:08 +0000)
STEER/AliVertexerTracks.cxx

index 6df10a849d0eb82d383caa9ffac682bca6601eac..338db771bc181499489907fb8a9a96e3d2e6df2c 100644 (file)
@@ -383,7 +383,7 @@ void AliVertexerTracks::StrLinVertexFinderMinDist(Int_t optUseWeights){
     Double_t mindist = TMath::Cos(alpha)*fNominalPos[0]+TMath::Sin(alpha)*fNominalPos[1];
 
     Double_t pos[3]; track1->GetXYZAt(mindist,field,pos);
-    Double_t dir[3]; track1->GetPxPyPzAt(mindist,field,pos);
+    Double_t dir[3]; track1->GetPxPyPzAt(mindist,field,dir);
     AliStrLine *line1 = new AliStrLine(pos,dir);
 
     Double_t p0[3],cd[3];