@@ -636,20 +636,20 @@ class CascadeBuilder
636636 collisionBuilder.template fillMcCollision <system>(collisionProducts, col, mcCols, mcProducts, mcBuilder);
637637
638638 auto bachelor = cascade.template bachelor_as <T8 >();
639- bachelorIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kCascadeBachelor >(col, collisionBuilder , mcCols, bachelor, trackProducts , mcParticles, mcBuilder, mcProducts);
639+ bachelorIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kCascadeBachelor >(bachelor, trackProducts , mcCols, collisionBuilder , mcParticles, mcBuilder, mcProducts);
640640
641641 auto posDaughter = cascade.template posTrack_as <T8 >();
642- posDaughterIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kV0Daughter >(col, collisionBuilder , mcCols, posDaughter, trackProducts , mcParticles, mcBuilder, mcProducts);
642+ posDaughterIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kV0Daughter >(posDaughter, trackProducts , mcCols, collisionBuilder , mcParticles, mcBuilder, mcProducts);
643643
644644 auto negDaughter = cascade.template negTrack_as <T8 >();
645- negDaughterIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kV0Daughter >(col, collisionBuilder , mcCols, negDaughter, trackProducts , mcParticles, mcBuilder, mcProducts);
645+ negDaughterIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kV0Daughter >(negDaughter, trackProducts , mcCols, collisionBuilder , mcParticles, mcBuilder, mcProducts);
646646
647647 fillCascade (collisionBuilder, cascadeProducts, cascade, col, bachelorIndex, posDaughterIndex, negDaughterIndex);
648648 if constexpr (modes::isEqual (cascadeType, modes::Cascade::kXi )) {
649- mcBuilder.template fillMcXiWithLabel <system>(col, mcCols, cascade, mcParticles, mcProducts);
649+ mcBuilder.template fillMcXiWithLabel <system>(cascade, mcParticles, mcCols , mcProducts);
650650 }
651651 if constexpr (modes::isEqual (cascadeType, modes::Cascade::kOmega )) {
652- mcBuilder.template fillMcOmegaWithLabel <system>(col, mcCols, cascade, mcParticles, mcProducts);
652+ mcBuilder.template fillMcOmegaWithLabel <system>(cascade, mcParticles, mcCols , mcProducts);
653653 }
654654 }
655655 }
@@ -733,7 +733,8 @@ class CascadeBuilder
733733 }
734734 }
735735
736- bool fillAnyTable () { return mFillAnyTable ; }
736+ [[nodiscard]] bool fillAnyTable () const { return mFillAnyTable ; }
737+ [[nodiscard]] bool isPassThrough () const { return mCascadeSelection .isPassThrough (); }
737738
738739 private:
739740 CascadeSelection<cascadeType, SelectionHistName, FilterHistName> mCascadeSelection ;
0 commit comments