We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de20919 commit 5f936e5Copy full SHA for 5f936e5
PWGHF/D2H/Tasks/taskLcToK0sP.cxx
@@ -557,8 +557,7 @@ struct HfTaskLcToK0sP {
557
558
if (particle.originMcGen() == RecoDecay::OriginType::Prompt) {
559
registry.fill(HIST("MC/Gen/hPtCandGenPrompt"), ptCand);
560
- }
561
- if (particle.originMcGen() == RecoDecay::OriginType::NonPrompt) {
+ } else if (particle.originMcGen() == RecoDecay::OriginType::NonPrompt) {
562
registry.fill(HIST("MC/Gen/hPtCandGenNonPrompt"), ptCand);
563
}
564
0 commit comments