Skip to content

Commit 9b7dca5

Browse files
committed
propagate to JE
1 parent 38bd86e commit 9b7dca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGJE/Core/JetHFUtilities.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ constexpr bool isMatchedHFCandidate(T const& candidate)
381381
return false;
382382
}
383383
} else if constexpr (isBplusCandidate<T>()) {
384-
if (std::abs(candidate.flagMcMatchRec()) == 1 << o2::aod::hf_cand_bplus::DecayType::BplusToD0Pi) {
384+
if (std::abs(candidate.flagMcMatchRec()) == o2::hf_decay::hf_cand_beauty::DecayChannelMain::BplusToD0Pi) {
385385
return true;
386386
} else {
387387
return false;
@@ -417,7 +417,7 @@ constexpr bool isMatchedHFCandidate(T const& candidate)
417417
return false;
418418
}
419419
} else if constexpr (isBplusMcCandidate<T>()) {
420-
if (std::abs(candidate.flagMcMatchGen()) == 1 << o2::aod::hf_cand_bplus::DecayType::BplusToD0Pi) {
420+
if (std::abs(candidate.flagMcMatchGen()) == o2::hf_decay::hf_cand_beauty::DecayChannelMain::BplusToD0Pi) {
421421
return true;
422422
} else {
423423
return false;

0 commit comments

Comments
 (0)