From 03c496d199aad7bb569286c3b6c6379ebb7ca8fa Mon Sep 17 00:00:00 2001 From: Roberto Preghenella Date: Wed, 12 Apr 2017 14:09:07 +0200 Subject: [PATCH] Properly deal with tune settings in Pythia8 --- MC/GeneratorConfig.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MC/GeneratorConfig.C b/MC/GeneratorConfig.C index c4c869c7..b422f8af 100644 --- a/MC/GeneratorConfig.C +++ b/MC/GeneratorConfig.C @@ -380,7 +380,7 @@ GeneratorPythia8(Int_t tune, Int_t pdgtrig, Float_t etatrig) // Tune if (tune > 0) { comment = comment.Append(Form(" | tune %d", tune)); - (AliPythia8::Instance())->ReadString(Form("Tune:pp = %d", tune)); + pythia->SetTune(tune); } // // Trigger particles