Skip to content

Commit 8f4e62f

Browse files
pchristafcolamar
andauthored
Update PWGHF/Tasks/taskBs.cxx
Co-authored-by: fcolamar <fabio.colamaria@ba.infn.it>
1 parent 9a2fd3a commit 8f4e62f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGHF/Tasks/taskBs.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ struct HfTaskBsMc {
237237
for (auto& particle : particlesMC) {
238238
if (std::abs(particle.flagMCMatchGen()) == 1 << hf_cand_bs::DecayType::BsToDsPi) {
239239

240-
auto yParticle = RecoDecay::Y(array{particle.px(), particle.py(), particle.pz()}, RecoDecay::getMassPDG(pdg::Code::kLambdaB0));
240+
auto yParticle = RecoDecay::Y(array{particle.px(), particle.py(), particle.pz()}, RecoDecay::getMassPDG(pdg::Code::kBs));
241241
if (cutYCandMax >= 0. && std::abs(yParticle) > cutYCandMax) {
242242
continue;
243243
}

0 commit comments

Comments
 (0)