@@ -561,12 +561,12 @@ class CharmHadronBuilder
561561 if constexpr (modes::isEqual (hadronType, modes::CharmHadron::kD0 ) || modes::isEqual (hadronType, modes::CharmHadron::kD0Bar )) {
562562 auto prong0 = candidate.template prong0_as <T7 >();
563563 auto prong1 = candidate.template prong1_as <T7 >();
564-
564+
565565 collisionBuilder.template fillCollision <system>(collisionProducts, col);
566566
567567 int64_t posDauIndex = trackBuilder.template getDaughterIndex <modes::Track::kCharmDaughter >(prong0, trackProducts, collisionBuilder);
568568 int64_t negDauIndex = trackBuilder.template getDaughterIndex <modes::Track::kCharmDaughter >(prong1, trackProducts, collisionBuilder);
569-
569+
570570 if constexpr (modes::isEqual (hadronType, modes::CharmHadron::kD0 )) {
571571 this ->fillD0Tables (collisionProducts, charmHadronProducts, candidate, candidate.pt (), mHfHelper .invMassD0ToPiK (candidate), posDauIndex, negDauIndex);
572572 } else {
@@ -586,8 +586,8 @@ class CharmHadronBuilder
586586
587587 // remap the prong onto the accepted hypothesis so that the proton is always first
588588 bool const isPKPi = candidate.isSelLcToPKPi ();
589- auto const & protonProng = isPKPi ? prong0 : prong2;
590- auto const & pionProng = isPKPi ? prong2 : prong0;
589+ auto const & protonProng = isPKPi ? prong0 : prong2;
590+ auto const & pionProng = isPKPi ? prong2 : prong0;
591591 float const mass = isPKPi ? mHfHelper .invMassLcToPKPi (candidate) : mHfHelper .invMassLcToPiKP (candidate);
592592 float const massCompeting = isPKPi ? mHfHelper .invMassLcToPiKP (candidate) : mHfHelper .invMassLcToPKPi (candidate);
593593
@@ -613,18 +613,18 @@ class CharmHadronBuilder
613613 if (!mCharmHadronSelection .checkFilters (candidate)) {
614614 continue ;
615615 }
616-
616+
617617 mCharmHadronSelection .applySelections (candidate);
618618 if (!mCharmHadronSelection .passesAllRequiredSelections ()) {
619619 continue ;
620620 }
621-
621+
622622 if constexpr (modes::isEqual (hadronType, modes::CharmHadron::kD0 ) || modes::isEqual (hadronType, modes::CharmHadron::kD0Bar )) {
623623 auto prong0 = candidate.template prong0_as <T8 >();
624624 auto prong1 = candidate.template prong1_as <T8 >();
625-
625+
626626 collisionBuilder.template fillMcCollision <system>(collisionProducts, col, mcCols, mcProducts, mcBuilder);
627-
627+
628628 int64_t posDauIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kCharmDaughter >(prong0, trackProducts, mcCols, collisionBuilder, mcParticles, mcBuilder, mcProducts);
629629 int64_t negDauIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kCharmDaughter >(prong1, trackProducts, mcCols, collisionBuilder, mcParticles, mcBuilder, mcProducts);
630630
@@ -648,8 +648,8 @@ class CharmHadronBuilder
648648
649649 // remap the prongs onto the accepted hypothesis so that the proton is always first
650650 bool const isPKPi = candidate.isSelLcToPKPi ();
651- auto const & protonProng = isPKPi ? prong0 : prong2;
652- auto const & pionProng = isPKPi ? prong2 : prong0;
651+ auto const & protonProng = isPKPi ? prong0 : prong2;
652+ auto const & pionProng = isPKPi ? prong2 : prong0;
653653 float const mass = isPKPi ? mHfHelper .invMassLcToPKPi (candidate) : mHfHelper .invMassLcToPiKP (candidate);
654654 float const massCompeting = isPKPi ? mHfHelper .invMassLcToPiKP (candidate) : mHfHelper .invMassLcToPKPi (candidate);
655655
@@ -664,7 +664,7 @@ class CharmHadronBuilder
664664 mcBuilder.template fillMcLcWithLabel <system>(candidate, tracks, mcParticles, mcCols, mcProducts);
665665 }
666666
667-
667+
668668 }
669669 }
670670
0 commit comments