Fixed compilation warning
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Feb 2011 20:52:57 +0000 (20:52 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Feb 2011 20:52:57 +0000 (20:52 +0000)
PWG3/vertexingHF/AliRDHFCutsDstoKKpi.cxx

index e83793e..76d92fd 100644 (file)
@@ -336,9 +336,9 @@ Int_t AliRDHFCutsDstoKKpi::IsSelected(TObject* obj,Int_t selectionLevel, AliAODE
     return 0;
   }
  
-  Double_t pt=d->Pt();
-  if(pt<fMinPtCand) return 0;
-  if(pt>fMaxPtCand) return 0;
+  Double_t ptD=d->Pt();
+  if(ptD<fMinPtCand) return 0;
+  if(ptD>fMaxPtCand) return 0;
 
   // selection on daughter tracks 
   if(selectionLevel==AliRDHFCuts::kAll ||