Skip to content

Commit a59667a

Browse files
committed
Fix B0 in JE
1 parent b97301a commit a59667a

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
@@ -375,7 +375,7 @@ constexpr bool isMatchedHFCandidate(T const& candidate)
375375
return false;
376376
}
377377
} else if constexpr (isB0Candidate<T>()) {
378-
if (std::abs(candidate.flagMcMatchRec()) == 1 << o2::aod::hf_cand_b0::DecayType::B0ToDPi) {
378+
if (std::abs(candidate.flagMcMatchRec()) == o2::hf_decay::hf_cand_beauty::DecayChannelMain::B0ToDminusPi) {
379379
return true;
380380
} else {
381381
return false;
@@ -411,7 +411,7 @@ constexpr bool isMatchedHFCandidate(T const& candidate)
411411
return false;
412412
}
413413
} else if constexpr (isB0McCandidate<T>()) {
414-
if (std::abs(candidate.flagMcMatchGen()) == 1 << o2::aod::hf_cand_b0::DecayType::B0ToDPi) {
414+
if (std::abs(candidate.flagMcMatchGen()) == o2::hf_decay::hf_cand_beauty::DecayChannelMain::B0ToDminusPi) {
415415
return true;
416416
} else {
417417
return false;

0 commit comments

Comments
 (0)