Int_t AliRDHFCutsDplustoKpipi::IsSelectedPID(AliAODRecoDecayHF *rd)
{
//
- // PID selection
+ // PID selection, returns 3 if accepted, 0 if not accepted
//
- if(!fUsePID || !rd) return 1;
+ if(!fUsePID || !rd) return 3;
//if(fUsePID)printf("i am inside the pid \n");
Int_t nkaons=0;
Int_t nNotKaons=0;
if(nkaons>1)return 0;
if(nNotKaons==3)return 0;
- return 1;
+ return 3;
}
//---------------------------------------------------------------------------
Int_t AliRDHFCutsDplustoKpipi::IsSelected(TObject* obj,Int_t selectionLevel, AliAODEvent* aod) {
//
- // Apply selection
+ // Apply selection, returns 3 if accepted, 0 if not accepted
//
if(!fCutsRD){
}
// PID selection
- Int_t returnvaluePID=1;
- Int_t returnvalueCuts=1;
+ Int_t returnvaluePID=3;
+ Int_t returnvalueCuts=3;
//if(selectionLevel==AliRDHFCuts::kAll ||
return returnvalueCuts;
}
- return 1;
+ return 3;
}
//---------------------------------------------------------------------------