possibility to cut on the pt of candidate (Rossella)
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Feb 2011 17:53:01 +0000 (17:53 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Feb 2011 17:53:01 +0000 (17:53 +0000)
PWG3/vertexingHF/AliRDHFCutsD0toKpipipi.cxx

index 0b5ea8f..981946e 100644 (file)
@@ -185,6 +185,9 @@ Int_t AliRDHFCutsD0toKpipipi::IsSelected(TObject* obj,Int_t selectionLevel) {
     return 0;\r
   }\r
 \r
+  Double_t ptD=d->Pt();\r
+  if(ptD<fMinPtCand) return 0;\r
+  if(ptD>fMaxPtCand) return 0;\r
 \r
   // selection on daughter tracks \r
   if(selectionLevel==AliRDHFCuts::kAll || \r