Skip to content

Commit 1704480

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

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
@@ -189,7 +189,7 @@ struct HfTaskBsMc {
189189
auto candDs = candidate.index0_as<aod::HfCandProng3>();
190190
if (std::abs(candidate.flagMCMatchRec()) == 1 << hf_cand_bs::DecayType::BsToDsPi) {
191191

192-
auto indexMother = RecoDecay::getMother(particlesMC, candidate.index1_as<aod::BigTracksMC>().mcParticle_as<soa::Join<aod::McParticles, aod::HfCandBsMCGen>>(), pdg::Code::kLambdaB0, true);
192+
auto indexMother = RecoDecay::getMother(particlesMC, candidate.index1_as<aod::BigTracksMC>().mcParticle_as<soa::Join<aod::McParticles, aod::HfCandBsMCGen>>(), pdg::Code::kBs, true);
193193
auto particleMother = particlesMC.iteratorAt(indexMother);
194194
registry.fill(HIST("hPtGenSig"), particleMother.pt());
195195
registry.fill(HIST("hPtRecSig"), candidate.pt());

0 commit comments

Comments
 (0)