Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Oct 18, 2024
1 parent a38da9f commit 10d3fc8
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,25 +194,25 @@ struct femtoUniversePairTaskTrackTrackMcTruth {
swpart = !swpart;
}
} else {
// Build the combinations for pairs of identical pairs
for (auto& [p1, p2] : combinations(CombinationsStrictlyUpperIndexPolicy(groupPartsOne, groupPartsTwo))) {
// track cleaning
if (!pairCleaner.isCleanPair(p1, p2, parts)) {
continue;
}
if ((!ConfNoPDGPartOne && p2.pidcut() != ConfPDGCodePartOne) || (!ConfNoPDGPartTwo && p1.pidcut() != ConfPDGCodePartTwo)) {
continue;
}
if (swpart)
sameEventCont.setPair<isMC>(p1, p2, multCol, ConfUse3D);
else
sameEventCont.setPair<isMC>(p2, p1, multCol, ConfUse3D);

swpart = !swpart;
// Build the combinations for pairs of identical pairs
for (auto& [p1, p2] : combinations(CombinationsStrictlyUpperIndexPolicy(groupPartsOne, groupPartsTwo))) {
// track cleaning
if (!pairCleaner.isCleanPair(p1, p2, parts)) {
continue;
}
if ((!ConfNoPDGPartOne && p2.pidcut() != ConfPDGCodePartOne) || (!ConfNoPDGPartTwo && p1.pidcut() != ConfPDGCodePartTwo)) {
continue;
}
if (swpart)
sameEventCont.setPair<isMC>(p1, p2, multCol, ConfUse3D);
else
sameEventCont.setPair<isMC>(p2, p1, multCol, ConfUse3D);

swpart = !swpart;
}
}

}

/// process function for to call doSameEvent with Data
/// \param col subscribe to the collision table (Data)
/// \param parts subscribe to the femtoUniverseParticleTable
Expand Down

0 comments on commit 10d3fc8

Please sign in to comment.