From 4cdb3d191e30cbea3f009cdd21fa3256febe994f Mon Sep 17 00:00:00 2001 From: ddobrigk Date: Wed, 13 Nov 2024 10:19:30 +0100 Subject: [PATCH 1/3] fix typo --- MC/config/PWGLF/pythia8/generator_pythia8_syntheFlow.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC/config/PWGLF/pythia8/generator_pythia8_syntheFlow.C b/MC/config/PWGLF/pythia8/generator_pythia8_syntheFlow.C index 18cc83cf6..5800c0b31 100644 --- a/MC/config/PWGLF/pythia8/generator_pythia8_syntheFlow.C +++ b/MC/config/PWGLF/pythia8/generator_pythia8_syntheFlow.C @@ -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; } From 9bda54858594a2b850a832f2e0a90df947c8d336 Mon Sep 17 00:00:00 2001 From: ddobrigk Date: Wed, 13 Nov 2024 10:19:51 +0100 Subject: [PATCH 2/3] fix typo 2 --- MC/config/PWGLF/pythia8/generator_pythia8_syntheFlowXi.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC/config/PWGLF/pythia8/generator_pythia8_syntheFlowXi.C b/MC/config/PWGLF/pythia8/generator_pythia8_syntheFlowXi.C index 146bc656c..64fd9f55b 100644 --- a/MC/config/PWGLF/pythia8/generator_pythia8_syntheFlowXi.C +++ b/MC/config/PWGLF/pythia8/generator_pythia8_syntheFlowXi.C @@ -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; } From db80c243ceafb49416021d0d5603121e36be9a4b Mon Sep 17 00:00:00 2001 From: ddobrigk Date: Wed, 13 Nov 2024 10:20:11 +0100 Subject: [PATCH 3/3] fix typo 3 --- MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C b/MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C index 1e6b2fc23..53a3b5887 100644 --- a/MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C +++ b/MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C @@ -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; }