Skip to content

Commit 6ce5b8e

Browse files
committed
Lowercase to hybrid generator parameters
1 parent 6d512bb commit 6ce5b8e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Generators/include/Generators/GeneratorHybridParam.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ namespace eventgen
2929
**/
3030

3131
struct GeneratorHybridParam : public o2::conf::ConfigurableParamHelper<GeneratorHybridParam> {
32-
std::string Generators = ""; // generators to be used in the cocktail, each divided by a comma
33-
std::string Configs = ""; // configurations for the generators, each divided by a colon
34-
bool Randomize = false; // randomize the order of the generators, if not generator using fractions
35-
std::string Fractions = ""; // events fractions for each generator, works only for sequence
32+
std::string generators = ""; // generators to be used in the cocktail, each divided by a comma
33+
std::string configs = ""; // configurations for the generators, each divided by a colon
34+
bool randomize = false; // randomize the order of the generators, if not generator using fractions
35+
std::string fractions = ""; // events fractions for each generator, works only for sequence
3636
O2ParamDef(GeneratorHybridParam, "GeneratorHybrid");
3737
};
3838

Generators/src/GeneratorFactory.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ void GeneratorFactory::setPrimaryGenerator(o2::conf::SimConfig const& conf, Fair
245245
} else if (genconfig.compare("hybrid") == 0) { // hybrid using multiple generators
246246
LOG(info) << "Init hybrid generator";
247247
auto& hybridparam = GeneratorHybridParam::Instance();
248-
std::string genslist = hybridparam.Generators;
248+
std::string genslist = hybridparam.generators;
249249
LOG(info) << "Generators list: " << genslist;
250250
std::vector<std::string> generators;
251251
std::stringstream ss(genslist);

Generators/src/GeneratorHybrid.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ namespace o2
2020
{
2121
GeneratorHybrid::GeneratorHybrid(const std::vector<std::string>& inputgens)
2222
{
23-
auto configs = GeneratorHybridParam::Instance().Configs;
24-
mRandomize = GeneratorHybridParam::Instance().Randomize;
23+
auto configs = GeneratorHybridParam::Instance().configs;
24+
mRandomize = GeneratorHybridParam::Instance().randomize;
2525
std::stringstream ss(configs);
2626
std::string conf;
2727
while (std::getline(ss, conf, ':')) {
@@ -37,7 +37,7 @@ namespace o2
3737
}
3838
int index = 0;
3939
if (!mRandomize) {
40-
std::string fractions = GeneratorHybridParam::Instance().Fractions;
40+
std::string fractions = GeneratorHybridParam::Instance().fractions;
4141
if(fractions.compare("") == 0){
4242
for (auto gen : inputgens) {
4343
mFractions.push_back(1);

0 commit comments

Comments
 (0)