From 806b75e0c4b1a54da21a108bbcb3a820de4b64be Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Mon, 18 Nov 2024 10:56:33 +0000 Subject: [PATCH] Please consider the following formatting changes --- Generators/src/GeneratorFactory.cxx | 5 ++--- run/SimExamples/Hybrid/hybridconfig.json | 18 +++++++++--------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Generators/src/GeneratorFactory.cxx b/Generators/src/GeneratorFactory.cxx index 3b145a5553385..92be3773b54ee 100644 --- a/Generators/src/GeneratorFactory.cxx +++ b/Generators/src/GeneratorFactory.cxx @@ -70,7 +70,7 @@ void GeneratorFactory::setPrimaryGenerator(o2::conf::SimConfig const& conf, Fair #ifdef GENERATORS_WITH_PYTHIA8 auto makePythia8Gen = [](std::string& config) { auto& singleton = GeneratorPythia8Param::Instance(); - auto pars = o2::eventgen::Pythia8GenConfig { + auto pars = o2::eventgen::Pythia8GenConfig{ .config = config.size() > 0 ? config : singleton.config, .hooksFileName = singleton.hooksFileName, .hooksFuncName = singleton.hooksFuncName, @@ -162,8 +162,7 @@ void GeneratorFactory::setPrimaryGenerator(o2::conf::SimConfig const& conf, Fair .randomize = singleton.randomize, .rngseed = singleton.rngseed, .randomphi = singleton.randomphi, - .fileName = name1.size() > 0 ? name1.c_str() : name2.c_str() - }; + .fileName = name1.size() > 0 ? name1.c_str() : name2.c_str()}; auto extGen = new o2::eventgen::GeneratorFromO2Kine(pars); extGen->SetStartEvent(conf.getStartEvent()); primGen->AddGenerator(extGen); diff --git a/run/SimExamples/Hybrid/hybridconfig.json b/run/SimExamples/Hybrid/hybridconfig.json index 8b3f749bbcbd6..5744b09ffad9f 100644 --- a/run/SimExamples/Hybrid/hybridconfig.json +++ b/run/SimExamples/Hybrid/hybridconfig.json @@ -22,8 +22,8 @@ ], "prange": [ 0.1, - 5 - ], + 5 + ], "phirange": [ 0, 360 @@ -61,11 +61,11 @@ "config": { "skipNonTrackable": true, "continueMode": false, - "roundRobin": false, - "randomize": false, - "rngseed": 0, - "randomphi": false, - "fileName": "${PWD}/evtpool.root" + "roundRobin": false, + "randomize": false, + "rngseed": 0, + "randomphi": false, + "fileName": "${PWD}/evtpool.root" } }, { @@ -105,9 +105,9 @@ "name": "pythia8hf", "config": "" } - ], + ], "fractions": [ - 1, + 1, 1, 1, 1,