Skip to content

Commit bdbc872

Browse files
committed
bugfix wrong type in _as<>
1 parent 53da407 commit bdbc872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/TableProducer/treeCreatorLcToPKPi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ struct HfTreeCreatorLcToPKPi {
713713
rowCandidateFullParticles.reserve(particles.size());
714714
for (const auto& particle : particles) {
715715
if (std::abs(particle.flagMcMatchGen()) == 1 << aod::hf_cand_3prong::DecayType::LcToPKPi) {
716-
auto mcDaughter0 = particle.template daughters_as<aod::McParticles>().begin();
716+
auto mcDaughter0 = particle.template daughters_as<soa::Join<aod::McParticles, aod::HfCand3ProngMcGen>>().begin();
717717
auto mcCollision = particle.template mcCollision_as<aod::McCollisions>();
718718
auto p = particle.p();
719719
const float p2m = p / MassLambdaCPlus;

0 commit comments

Comments
 (0)