@@ -619,20 +619,20 @@ class CascadeBuilder
619619 collisionBuilder.template fillMcCollision <system>(collisionProducts, col, mcCols, mcProducts, mcBuilder);
620620
621621 auto bachelor = cascade.template bachelor_as <T8 >();
622- bachelorIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kCascadeBachelor >(col, collisionBuilder , mcCols, bachelor, trackProducts , mcParticles, mcBuilder, mcProducts);
622+ bachelorIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kCascadeBachelor >(bachelor, trackProducts , mcCols, collisionBuilder , mcParticles, mcBuilder, mcProducts);
623623
624624 auto posDaughter = cascade.template posTrack_as <T8 >();
625- posDaughterIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kV0Daughter >(col, collisionBuilder , mcCols, posDaughter, trackProducts , mcParticles, mcBuilder, mcProducts);
625+ posDaughterIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kV0Daughter >(posDaughter, trackProducts , mcCols, collisionBuilder , mcParticles, mcBuilder, mcProducts);
626626
627627 auto negDaughter = cascade.template negTrack_as <T8 >();
628- negDaughterIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kV0Daughter >(col, collisionBuilder , mcCols, negDaughter, trackProducts , mcParticles, mcBuilder, mcProducts);
628+ negDaughterIndex = trackBuilder.template getDaughterIndex <system, modes::Track::kV0Daughter >(negDaughter, trackProducts , mcCols, collisionBuilder , mcParticles, mcBuilder, mcProducts);
629629
630630 fillCascade (collisionBuilder, cascadeProducts, cascade, col, bachelorIndex, posDaughterIndex, negDaughterIndex);
631631 if constexpr (modes::isEqual (cascadeType, modes::Cascade::kXi )) {
632- mcBuilder.template fillMcXiWithLabel <system>(col, mcCols, cascade, mcParticles, mcProducts);
632+ mcBuilder.template fillMcXiWithLabel <system>(cascade, mcParticles, mcCols , mcProducts);
633633 }
634634 if constexpr (modes::isEqual (cascadeType, modes::Cascade::kOmega )) {
635- mcBuilder.template fillMcOmegaWithLabel <system>(col, mcCols, cascade, mcParticles, mcProducts);
635+ mcBuilder.template fillMcOmegaWithLabel <system>(cascade, mcParticles, mcCols , mcProducts);
636636 }
637637 }
638638 }
@@ -716,7 +716,8 @@ class CascadeBuilder
716716 }
717717 }
718718
719- bool fillAnyTable () { return mFillAnyTable ; }
719+ [[nodiscard]] bool fillAnyTable () const { return mFillAnyTable ; }
720+ [[nodiscard]] bool isPassThrough () const { return mCascadeSelection .isPassThrough (); }
720721
721722 private:
722723 CascadeSelection<cascadeType, SelectionHistName, FilterHistName> mCascadeSelection ;
0 commit comments