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++)