Skip to content

Commit 64d028b

Browse files
authored
Fix pythiaCfgSignal path and clean up code
Updated pythiaCfgSignal path and removed unused config code.
1 parent c9d992d commit 64d028b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

MC/config/PWGLF/pythia8/generator_pythia8_LF_rapidity.C

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class GeneratorPythia8LFRapidity : public o2::eventgen::GeneratorPythia8
7272
bool useTrigger = false,
7373
bool useRapidity = false,
7474
std::string pythiaCfgMb = "${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg",
75-
std::string pythiaCfgSignal = "${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/pythia8_inel_signal.cfg") : GeneratorPythia8{},
75+
std::string pythiaCfgSignal = "${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_136tev.cfg") : GeneratorPythia8{},
7676
mOneInjectionPerEvent{injOnePerEvent},
7777
mGapBetweenInjection{gapBetweenInjection},
7878
mUseTriggering{useTrigger},
@@ -147,12 +147,6 @@ class GeneratorPythia8LFRapidity : public o2::eventgen::GeneratorPythia8
147147
/** switch off process level **/
148148
mPythiaGun.readString("ProcessLevel:all off");
149149

150-
/** config **/
151-
/* auto& paramGen = o2::eventgen::GeneratorPythia8Param::Instance();
152-
if (!paramGen.config.empty()) {
153-
LOG(fatal) << "Configuration file provided for \'GeneratorPythia8\' should be empty for this injection scheme";
154-
return;
155-
} */
156150
auto& param = o2::eventgen::DecayerPythia8Param::Instance();
157151
LOG(info) << "Init \'GeneratorPythia8LFRapidity\' with following parameters";
158152
LOG(info) << param;

0 commit comments

Comments
 (0)