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 Sep 27, 2024
1 parent e4be57d commit 2c80b06
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions PWGLF/TableProducer/Strangeness/strangederivedbuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ struct strangederivedbuilder {

// +-<*>-+-<*>-+-<*>-+-<*>-+-<*>-+-<*>-+-<*>-+-<*>-+-<*>-+-<*>-+-<*>-+
// set UD information in case present at this stage
auto udCollIterator = udCollisions.begin();
if constexpr ( requires {udCollIterator.gapSide(); }) { // check if this table is the expected one
auto udCollIterator = udCollisions.begin();
if constexpr (requires { udCollIterator.gapSide(); }) { // check if this table is the expected one
auto udCollision = udCollisions.sliceBy(udCollisionsPerCollision, collIdx);
if (udCollision.size() == 1) { // check that the slicing provide a unique UD collision
for (auto& udColl : udCollision) {
Expand Down Expand Up @@ -341,7 +341,7 @@ struct strangederivedbuilder {
// fill collision tables
if (strange || fillEmptyCollisions) {
strangeColl(collision.posX(), collision.posY(), collision.posZ());
if constexpr ( requires {collision.mcCollisionId(); }) { // check if MC information is available and if so fill labels
if constexpr (requires { collision.mcCollisionId(); }) { // check if MC information is available and if so fill labels
strangeCollLabels(collision.mcCollisionId());
}
strangeCents(collision.centFT0M(), collision.centFT0A(),
Expand Down Expand Up @@ -390,10 +390,10 @@ struct strangederivedbuilder {
for (const auto& casc : Cascades) {
casccollref(CascadeCollIndices[casc.globalIndex()]);
}
for (const auto& casc : KFCascades){
for (const auto& casc : KFCascades) {
kfcasccollref(KFCascadeCollIndices[casc.globalIndex()]);
}
for (const auto& casc : KFCascades){
for (const auto& casc : KFCascades) {
tracasccollref(TraCascadeCollIndices[casc.globalIndex()]);
}
}
Expand All @@ -413,7 +413,6 @@ struct strangederivedbuilder {
}
}


void processCollisions(soa::Join<aod::Collisions, aod::FT0Mults, aod::FV0Mults, aod::FDDMults, aod::PVMults, aod::ZDCMults, aod::CentFT0Ms, aod::CentFT0As, aod::CentFT0Cs, aod::CentFV0As, aod::EvSels, aod::MultsExtra, aod::MultsGlobal> const& collisions, aod::V0Datas const& V0s, aod::CascDatas const& Cascades, aod::KFCascDatas const& KFCascades, aod::TraCascDatas const& TraCascades, aod::BCsWithTimestamps const& /*bcs*/)
{
populateCollisionTables(collisions, collisions, V0s, Cascades, KFCascades, TraCascades);
Expand Down

0 comments on commit 2c80b06

Please sign in to comment.