Skip to content

Commit

Permalink
Allows cascade bachelor to also be a Kaon
Browse files Browse the repository at this point in the history
  • Loading branch information
bhohlweger committed Apr 18, 2019
1 parent 889dd35 commit f8c0dca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion PWG/DevNanoAOD/AliAnalysisNanoAODCuts.cxx
Expand Up @@ -426,8 +426,13 @@ Bool_t AliAnalysisNanoAODCascadeCuts::IsSelected(TObject* obj) {
nTrack,
AliPID::kPion);

Float_t nSigBachKaon = pidResponse->NumberOfSigmas(AliPIDResponse::kTPC,
nTrack,
AliPID::kKaon);

// if the Bachelor is not a pion, the candidate can go
if (!(nSigBachPion < fCascDaugnSigTPCMax)) {
if (!((nSigBachPion < fCascDaugnSigTPCMax)||
(nSigBachKaon < fCascDaugnSigTPCMax))) {
return false;
}
// if the daughter tracks are not a proton or a pion within loose cuts, the candidate can be rejected
Expand Down

0 comments on commit f8c0dca

Please sign in to comment.