1 parent 2349827 commit 61ee201Copy full SHA for 61ee201
1 file changed
PWGHF/Tasks/taskMcValidation.cxx
@@ -558,8 +558,8 @@ struct HfTaskMcValidationGen {
558
} else if (origin == RecoDecay::OriginType::NonPrompt) {
559
counterNonPrompt[iD]++;
560
}
561
- } else if (iD >= NCharmMesonChannels && iD < NCharmMesonChannels + NBeautyChannels) { // Beauty hadrons
562
- counterBeauty[iD]++; // Matched already, no need to check origin for beauty hadrons
+ } else { // Beauty hadrons
+ counterBeauty[iD]++; // Matched already, no need to check origin for beauty hadrons
563
564
565
auto daughter0 = particle.template daughters_as<Particles>().begin();
0 commit comments