From ce98376847dd4c90a2c7e5541b1cf2b53a63a5c5 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 27 Nov 2024 14:30:50 +0000 Subject: [PATCH] Please consider the following formatting changes --- Generators/src/GeneratorHybrid.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Generators/src/GeneratorHybrid.cxx b/Generators/src/GeneratorHybrid.cxx index e6ac7ae05f5c3..c8d4f7b451d12 100644 --- a/Generators/src/GeneratorHybrid.cxx +++ b/Generators/src/GeneratorHybrid.cxx @@ -127,7 +127,7 @@ Bool_t GeneratorHybrid::Init() addSubGenerator(count, gen); count++; } - if(mRandomize) { + if (mRandomize) { if (std::all_of(mFractions.begin(), mFractions.end(), [](int i) { return i == 1; })) { LOG(info) << "Full randomisation of generators order"; } else { @@ -163,7 +163,7 @@ Bool_t GeneratorHybrid::generateEvent() // Order randomisation or sequence of generators // following provided fractions. If not available generators will be used sequentially if (mRandomize) { - if(mRngFractions.size() != 0) { + if (mRngFractions.size() != 0) { // Generate number between 0 and 1 float rnum = gRandom->Rndm(); // Find generator index @@ -175,7 +175,7 @@ Bool_t GeneratorHybrid::generateEvent() } } else { mIndex = gRandom->Integer(mGens.size()); - } + } } else { while (mFractions[mCurrentFraction] == 0 || mseqCounter == mFractions[mCurrentFraction]) { if (mFractions[mCurrentFraction] != 0) {