Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Generators/src/GeneratorFactory.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);
Expand Down
18 changes: 9 additions & 9 deletions run/SimExamples/Hybrid/hybridconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
],
"prange": [
0.1,
5
],
5
],
"phirange": [
0,
360
Expand Down Expand Up @@ -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"
}
},
{
Expand Down Expand Up @@ -105,9 +105,9 @@
"name": "pythia8hf",
"config": ""
}
],
],
"fractions": [
1,
1,
1,
1,
1,
Expand Down
Loading