From 348ffd5c6df1929bd8b93cb202668a516bd8b31d Mon Sep 17 00:00:00 2001 From: morsch Date: Fri, 18 Oct 2013 13:13:29 +0000 Subject: [PATCH] Protection in case of fITune >= 0 in kPyJets --- PYTHIA6/AliPythia.cxx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/PYTHIA6/AliPythia.cxx b/PYTHIA6/AliPythia.cxx index 9b5e6819bac..b386279c5af 100644 --- a/PYTHIA6/AliPythia.cxx +++ b/PYTHIA6/AliPythia.cxx @@ -375,15 +375,17 @@ void AliPythia::ProcInit(Process_t process, Float_t energy, StrucFunc_t strucfun SetMSEL(1); // Pythia Tune A (CDF) // - SetPARP(67,2.5); // Regulates Initial State Radiation (value from best fit to D0 dijet analysis) - SetMSTP(82,4); // Double Gaussian Model - SetPARP(82,2.0); // [GeV] PT_min at Ref. energy - SetPARP(84,0.4); // Core radius - SetPARP(85,0.90) ; // Regulates gluon prod. mechanism - SetPARP(86,0.95); // Regulates gluon prod. mechanism - SetPARP(89,1800.); // [GeV] Ref. energy - SetPARP(90,0.25); // 2*epsilon (exponent in power law) - break; + if (fItune < 0) { + SetPARP(67,2.5); // Regulates Initial State Radiation (value from best fit to D0 dijet analysis) + SetMSTP(82,4); // Double Gaussian Model + SetPARP(82,2.0); // [GeV] PT_min at Ref. energy + SetPARP(84,0.4); // Core radius + SetPARP(85,0.90) ; // Regulates gluon prod. mechanism + SetPARP(86,0.95); // Regulates gluon prod. mechanism + SetPARP(89,1800.); // [GeV] Ref. energy + SetPARP(90,0.25); // 2*epsilon (exponent in power law) + } + break; case kPyDirectGamma: SetMSEL(10); break; -- 2.39.3