@@ -2726,18 +2726,22 @@ struct HfCandidateCreatorXic0Omegac0Mc {
27262726 const auto mcParticlesPerMcColl = mcParticles.sliceBy (mcParticlesPerMcCollision, mcCollision.globalIndex ());
27272727 // Slice the collisions table to get the collision info for the current MC collision
27282728 float centrality{-1 .f };
2729- uint16_t rejectionMask{0 };
2729+ uint32_t rejectionMask{0u };
2730+ int nSplitColl = 0 ;
27302731 if constexpr (centEstimator == CentralityEstimator::FT0C) {
27312732 const auto collSlice = collsWithMcLabels.sliceBy (colPerMcCollisionFT0C, mcCollision.globalIndex ());
27322733 rejectionMask = hfEvSelMc.getHfMcCollisionRejectionMask <BCsInfo, centEstimator>(mcCollision, collSlice, centrality);
2734+ nSplitColl = collSlice.size ();
27332735 } else if constexpr (centEstimator == CentralityEstimator::FT0M) {
27342736 const auto collSlice = collsWithMcLabels.sliceBy (colPerMcCollisionFT0M, mcCollision.globalIndex ());
27352737 rejectionMask = hfEvSelMc.getHfMcCollisionRejectionMask <BCsInfo, centEstimator>(mcCollision, collSlice, centrality);
2738+ nSplitColl = collSlice.size ();
27362739 } else if constexpr (centEstimator == CentralityEstimator::None) {
27372740 const auto collSlice = collsWithMcLabels.sliceBy (colPerMcCollision, mcCollision.globalIndex ());
27382741 rejectionMask = hfEvSelMc.getHfMcCollisionRejectionMask <BCsInfo, centEstimator>(mcCollision, collSlice, centrality);
2742+ nSplitColl = collSlice.size ();
27392743 }
2740- hfEvSelMc.fillHistograms <centEstimator>(mcCollision, rejectionMask);
2744+ hfEvSelMc.fillHistograms <centEstimator>(mcCollision, rejectionMask, nSplitColl );
27412745 if (rejectionMask != 0 ) {
27422746 // / at least one event selection not satisfied --> reject all particles from this collision
27432747 for (unsigned int i = 0 ; i < mcParticlesPerMcColl.size (); ++i) {
0 commit comments