Skip to content

Commit 4d99828

Browse files
committed
Merge branch 'hybrid1' of https://github.com/jackal1-66/AliceO2 into hybrid1
2 parents 10cfef7 + 2b4d864 commit 4d99828

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

Generators/src/GeneratorFactory.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void GeneratorFactory::setPrimaryGenerator(o2::conf::SimConfig const& conf, Fair
7070
#ifdef GENERATORS_WITH_PYTHIA8
7171
auto makePythia8Gen = [](std::string& config) {
7272
auto& singleton = GeneratorPythia8Param::Instance();
73-
auto pars = o2::eventgen::Pythia8GenConfig {
73+
auto pars = o2::eventgen::Pythia8GenConfig{
7474
.config = config.size() > 0 ? config : singleton.config,
7575
.hooksFileName = singleton.hooksFileName,
7676
.hooksFuncName = singleton.hooksFuncName,
@@ -162,8 +162,7 @@ void GeneratorFactory::setPrimaryGenerator(o2::conf::SimConfig const& conf, Fair
162162
.randomize = singleton.randomize,
163163
.rngseed = singleton.rngseed,
164164
.randomphi = singleton.randomphi,
165-
.fileName = name1.size() > 0 ? name1.c_str() : name2.c_str()
166-
};
165+
.fileName = name1.size() > 0 ? name1.c_str() : name2.c_str()};
167166
auto extGen = new o2::eventgen::GeneratorFromO2Kine(pars);
168167
extGen->SetStartEvent(conf.getStartEvent());
169168
primGen->AddGenerator(extGen);

run/SimExamples/Hybrid/hybridconfig.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
],
2323
"prange": [
2424
0.1,
25-
5
26-
],
25+
5
26+
],
2727
"phirange": [
2828
0,
2929
360
@@ -61,11 +61,11 @@
6161
"config": {
6262
"skipNonTrackable": true,
6363
"continueMode": false,
64-
"roundRobin": false,
65-
"randomize": false,
66-
"rngseed": 0,
67-
"randomphi": false,
68-
"fileName": "${PWD}/evtpool.root"
64+
"roundRobin": false,
65+
"randomize": false,
66+
"rngseed": 0,
67+
"randomphi": false,
68+
"fileName": "${PWD}/evtpool.root"
6969
}
7070
},
7171
{
@@ -105,9 +105,9 @@
105105
"name": "pythia8hf",
106106
"config": ""
107107
}
108-
],
108+
],
109109
"fractions": [
110-
1,
110+
1,
111111
1,
112112
1,
113113
1,

0 commit comments

Comments
 (0)