Setting impact parameters in RefitInward
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Feb 2005 12:10:50 +0000 (12:10 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Feb 2005 12:10:50 +0000 (12:10 +0000)
ITS/AliITStrackerMI.cxx

index c887509..d54bfe5 100644 (file)
@@ -483,6 +483,9 @@ Int_t AliITStrackerMI::RefitInward(AliESD *event) {
 
         if (fTrackToFollow.Propagate(fv+a,xv)) {
             fTrackToFollow.UpdateESDtrack(AliESDtrack::kITSrefit);
+           Float_t d=fTrackToFollow.GetD(GetX(),GetY());        
+           Float_t z=fTrackToFollow.GetZ()-GetZ();      
+           fTrackToFollow.GetESDtrack()->SetImpactParameters(d,z);      
             //UseClusters(&fTrackToFollow);
             {
             AliITSclusterV2 c; c.SetY(yv); c.SetZ(GetZ());