Skip to content

Commit 0fc74e2

Browse files
committed
Changing combination policy for CascadeCascade to StricltyUpperIndex
--> later the option needs to be added to switch, in case someone wants on analyse two different cascades
1 parent 49b0f07 commit 0fc74e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGCF/FemtoDream/Tasks/femtoDreamPairTaskCascadeCascade.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ struct FemtoDreamPairTaskCascadeCascade {
310310
}
311311

312312
/// Now build particle combinations
313-
for (auto const& [p1, p2] : combinations(CombinationsFullIndexPolicy(sliceCascade1, sliceCascade2))) {
313+
for (auto const& [p1, p2] : combinations(CombinationsStrictlyUpperIndexPolicy(sliceCascade1, sliceCascade2))) {
314314
const auto& posChild1 = parts.iteratorAt(p1.index() - 3);
315315
const auto& negChild1 = parts.iteratorAt(p1.index() - 2);
316316
const auto& bachChild1 = parts.iteratorAt(p1.index() - 1);

0 commit comments

Comments
 (0)