Skip to content

Commit de20919

Browse files
Update PWGHF/D2H/Tasks/taskLcToK0sP.cxx
Co-authored-by: Vít Kučera <[email protected]>
1 parent 24da458 commit de20919

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PWGHF/D2H/Tasks/taskLcToK0sP.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,7 @@ struct HfTaskLcToK0sP {
412412
if (std::abs(candidate.flagMcMatchRec()) == 1) {
413413
if (candidate.originMcRec() == RecoDecay::OriginType::Prompt) {
414414
registry.fill(HIST("MC/Rec/hPtCandRecSigPrompt"), ptCand);
415-
}
416-
if (candidate.originMcRec() == RecoDecay::OriginType::NonPrompt) {
415+
} else if (candidate.originMcRec() == RecoDecay::OriginType::NonPrompt) {
417416
registry.fill(HIST("MC/Rec/hPtCandRecSigNonPrompt"), ptCand);
418417
}
419418
registry.fill(HIST("MC/Rec/hPtCandRecSig"), ptCand);

0 commit comments

Comments
 (0)