Skip to content

Commit

Permalink
PWGLF: fix typo when setting seeds (#1799)
Browse files Browse the repository at this point in the history
* fix typo

* fix typo 2

* fix typo 3
  • Loading branch information
ddobrigk authored Nov 13, 2024
1 parent f55a23a commit 4a6793e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private:
{
auto generator = new GeneratorPythia8ExtraStrangeness();
gRandom->SetSeed(0);
generator.readString("Random:setSeed = on");
generator.readString("Random:seed =" + std::to_string(gRandom->Integer(900000000 - 2) + 1));
generator->readString("Random:setSeed = on");
generator->readString("Random:seed =" + std::to_string(gRandom->Integer(900000000 - 2) + 1));
return generator;
}
4 changes: 2 additions & 2 deletions MC/config/PWGLF/pythia8/generator_pythia8_syntheFlow.C
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private:
{
auto generator = new GeneratorPythia8SyntheFlow();
gRandom->SetSeed(0);
generator.readString("Random:setSeed = on");
generator.readString("Random:seed =" + std::to_string(gRandom->Integer(900000000 - 2) + 1));
generator->readString("Random:setSeed = on");
generator->readString("Random:seed =" + std::to_string(gRandom->Integer(900000000 - 2) + 1));
return generator;
}
4 changes: 2 additions & 2 deletions MC/config/PWGLF/pythia8/generator_pythia8_syntheFlowXi.C
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ private:
{
auto generator = new GeneratorPythia8SyntheFlowXi();
gRandom->SetSeed(0);
generator.readString("Random:setSeed = on");
generator.readString("Random:seed =" + std::to_string(gRandom->Integer(900000000 - 2) + 1));
generator->readString("Random:setSeed = on");
generator->readString("Random:seed =" + std::to_string(gRandom->Integer(900000000 - 2) + 1));
return generator;
}

0 comments on commit 4a6793e

Please sign in to comment.