diff --git a/Generators/src/GeneratorHybrid.cxx b/Generators/src/GeneratorHybrid.cxx index febfc28ec90ce..af6f2bea03052 100644 --- a/Generators/src/GeneratorHybrid.cxx +++ b/Generators/src/GeneratorHybrid.cxx @@ -494,7 +494,7 @@ Bool_t GeneratorHybrid::parseJSON(const std::string& path) if (gen.HasMember("cocktail")) { mCocktailMode = true; for (const auto& subgen : gen["cocktail"].GetArray()) { - if(confSetter(subgen)) { + if (confSetter(subgen)) { mGroups.back().push_back(mInputGens.size() - 1); } else { return false; diff --git a/run/SimExamples/Hybrid_cocktail/hybridcocktail.json b/run/SimExamples/Hybrid_cocktail/hybridcocktail.json index 10ac847e2f7f8..7bffc334e174c 100644 --- a/run/SimExamples/Hybrid_cocktail/hybridcocktail.json +++ b/run/SimExamples/Hybrid_cocktail/hybridcocktail.json @@ -1,51 +1,51 @@ { "generators": [ - { - "cocktail": [ - { - "name": "pythia8", - "config": { - "config": "$O2_ROOT/share/Generators/egconfig/pythia8_inel.cfg", - "hooksFileName": "", - "hooksFuncName": "", - "includePartonEvent": false, - "particleFilter": "", - "verbose": 0 - } - }, - { - "name": "external", - "config": { - "fileName": "${O2DPG_ROOT}/MC/config/PWGDQ/external/generator/GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV.C", - "funcName": "GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV()", - "iniFile": "" - } + { + "cocktail": [ + { + "name": "pythia8", + "config": { + "config": "$O2_ROOT/share/Generators/egconfig/pythia8_inel.cfg", + "hooksFileName": "", + "hooksFuncName": "", + "includePartonEvent": false, + "particleFilter": "", + "verbose": 0 } - ] - }, - { - "cocktail": [ - { - "name": "pythia8pp" - }, - { - "name": "extkinO2", - "config": { - "skipNonTrackable": true, - "continueMode": false, - "roundRobin": false, - "randomize": false, - "rngseed": 0, - "randomphi": false, - "fileName": "${PWD}/evtpool.root" - } + }, + { + "name": "external", + "config": { + "fileName": "${O2DPG_ROOT}/MC/config/PWGDQ/external/generator/GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV.C", + "funcName": "GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV()", + "iniFile": "" } - ] - }, - { + } + ] + }, + { + "cocktail": [ + { + "name": "pythia8pp" + }, + { + "name": "extkinO2", + "config": { + "skipNonTrackable": true, + "continueMode": false, + "roundRobin": false, + "randomize": false, + "rngseed": 0, + "randomphi": false, + "fileName": "${PWD}/evtpool.root" + } + } + ] + }, + { "name": "pythia8hf", "config": "" - } + } ], "fractions": [ 1,