#include "AliFastGlauber.h"
#include "AliQuenchingWeights.h"
#include "AliOmegaDalitz.h"
+#include "AliLog.h"
#include "TVector3.h"
#include "TLorentzVector.h"
#include "PyquenCommon.h"
// Initialize PYTHIA
//
// Select the tune
- if (itune > -1) Pytune(itune);
-
+ if (itune > -1) {
+ Pytune(itune);
+ if (GetMSTP(192) > 1 || GetMSTP(193) > 1) {
+ AliWarning(Form("Structure function for tune %5d set to %5s\n",
+ itune, AliStructFuncType::PDFsetName(strucfunc).Data()));
+ SetMSTP(52,2);
+ SetMSTP(51, AliStructFuncType::PDFsetIndex(strucfunc));
+ }
+ }
//
SetMSTP(41,1); // all resonance decays switched on
if (process == kPyJetsPWHG || process == kPyCharmPWHG || process == kPyBeautyPWHG) {