Removing wrong cast that affected the setting of outer parameters
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Sep 2008 16:45:12 +0000 (16:45 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Sep 2008 16:45:12 +0000 (16:45 +0000)
HMPID/AliHMPIDTracker.cxx

index 2df3fc4..c7346ff 100644 (file)
@@ -221,7 +221,7 @@ Int_t AliHMPIDTracker::Recon(AliESDEvent *pEsd,TObjArray *pClus,TObjArray *pNmea
 
     Bool_t isOk = hmpTrk->Update(bestHmpCluster,bestChi2,indexAll);
     if(!isOk) continue;
-    pTrk->SetOuterParam((AliExternalTrackParam*)&hmpTrk,AliESDtrack::kHMPIDout);                 
+    pTrk->SetOuterParam(hmpTrk,AliESDtrack::kHMPIDout);                 
 
 //    cham=IntTrkCha(ipCh,hmpTrk,xPc,yPc,xRa,yRa,theta,phi);
     cham=IntTrkCha(pTrk,xPc,yPc,xRa,yRa,theta,phi);