Possibilty to assocate good PID flag to tracks not good for PID eliminated
authorgvolpe <gvolpe@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Nov 2009 09:21:22 +0000 (09:21 +0000)
committergvolpe <gvolpe@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Nov 2009 09:21:22 +0000 (09:21 +0000)
HMPID/AliHMPIDTracker.cxx

index 2d2e380..a2897b0 100644 (file)
@@ -270,8 +270,9 @@ Int_t AliHMPIDTracker::Recon(AliESDEvent *pEsd,TObjArray *pClus,TObjArray *pNmea
     //
     recon.SetImpPC(xPc,yPc);                                                                     //store track impact to PC
     recon.CkovAngle(pTrk,(TClonesArray *)pClus->At(ipCh),index,nmean,xRa,yRa);                   //search for Cerenkov angle of this track
-    
-    
+
+    if(pTrk->GetHMPIDsignal()<0) continue;
+        
     AliHMPIDPid pID;
     Double_t prob[5];
     pID.FindPid(pTrk,5,prob);