]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 0b5ea8fff65a61a3acdf53ee58dcae8a2cd5fc2a..981946e4a345b442131a547d77e49b620a7e1127 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