From 5dbeff7ee888d1de46c57051c51cccf85a65692f Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 26 Jan 2024 11:15:10 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGLF/TableProducer/strangederivedbuilder.cxx | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/PWGLF/TableProducer/strangederivedbuilder.cxx b/PWGLF/TableProducer/strangederivedbuilder.cxx index d11cfc55a62..fb3b01c3e13 100644 --- a/PWGLF/TableProducer/strangederivedbuilder.cxx +++ b/PWGLF/TableProducer/strangederivedbuilder.cxx @@ -65,7 +65,7 @@ struct strangederivedbuilder { // fundamental building blocks of derived data Produces strangeColl; // characterises collisions Produces strangeCents; // characterises collisions / centrality - Produces strangeRawCents; // characterises collisions / centrality + Produces strangeRawCents; // characterises collisions / centrality Produces strangeEvSels; // characterises collisions / sel8 selection Produces strangeStamps; // provides timestamps, run numbers Produces v0collref; // references collisions from V0s @@ -197,11 +197,11 @@ struct strangederivedbuilder { auto bc = collision.bc_as(); strangeStamps(bc.runNumber(), bc.timestamp()); - if(fillRawFT0C || fillRawFT0C || fillRawFV0A || fillRawNTracksEta1){ - strangeRawCents( collision.multFT0A() * static_cast(fillRawFT0A), - collision.multFT0C() * static_cast(fillRawFT0C), - collision.multFT0A() * static_cast(fillRawFV0A), - collision.multNTracksPVeta1() * static_cast(fillRawNTracksEta1) ); + if (fillRawFT0C || fillRawFT0C || fillRawFV0A || fillRawNTracksEta1) { + strangeRawCents(collision.multFT0A() * static_cast(fillRawFT0A), + collision.multFT0C() * static_cast(fillRawFT0C), + collision.multFT0A() * static_cast(fillRawFV0A), + collision.multNTracksPVeta1() * static_cast(fillRawNTracksEta1)); } } for (int i = 0; i < V0Table_thisColl.size(); i++) @@ -230,11 +230,11 @@ struct strangederivedbuilder { auto bc = collision.bc_as(); strangeStamps(bc.runNumber(), bc.timestamp()); - if(fillRawFT0C || fillRawFT0C || fillRawFV0A || fillRawNTracksEta1){ - strangeRawCents( collision.multFT0A() * static_cast(fillRawFT0A), - collision.multFT0C() * static_cast(fillRawFT0C), - collision.multFT0A() * static_cast(fillRawFV0A), - collision.multNTracksPVeta1() * static_cast(fillRawNTracksEta1) ); + if (fillRawFT0C || fillRawFT0C || fillRawFV0A || fillRawNTracksEta1) { + strangeRawCents(collision.multFT0A() * static_cast(fillRawFT0A), + collision.multFT0C() * static_cast(fillRawFT0C), + collision.multFT0A() * static_cast(fillRawFV0A), + collision.multNTracksPVeta1() * static_cast(fillRawNTracksEta1)); } } for (int i = 0; i < V0Table_thisColl.size(); i++)