]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Default Pythia8 structure function for kPyMBDefault
authormorsch <andreas.morsch@cern.ch>
Thu, 10 Apr 2014 22:00:33 +0000 (00:00 +0200)
committermorsch <andreas.morsch@cern.ch>
Thu, 10 Apr 2014 22:00:33 +0000 (00:00 +0200)
PYTHIA8/AliPythia8.cxx

index 7a17e474f257c33e36c452334f05bc49f6dcfb38..9477b3e89b34874f79a024820afd3fb0b1fb38df 100644 (file)
@@ -115,11 +115,9 @@ void AliPythia8::ProcInit(Process_t process, Float_t energy, StrucFunc_t strucfu
     ReadString("3322:mayDecay = off");
     ReadString("3334:mayDecay = off");
     // Select structure function 
-
-    ReadString("PDF:useLHAPDF = on");
-    ReadString(Form("PDF:LHAPDFset = %s", AliStructFuncType::PDFsetName(fStrucFunc).Data()));
-
-    // Particles produced in string fragmentation point directly to either of the two endpoints
+          ReadString("PDF:useLHAPDF = on");
+         ReadString(Form("PDF:LHAPDFset = %s", AliStructFuncType::PDFsetName(fStrucFunc).Data()));
+      // Particles produced in string fragmentation point directly to either of the two endpoints
     // of the string (depending in the side they were generated from).
 
 //    SetMSTU(16,2); // ????
@@ -243,6 +241,7 @@ void AliPythia8::ProcInit(Process_t process, Float_t energy, StrucFunc_t strucfu
        ReadString("SoftQCD:doubleDiffractive = on");
        ReadString("SoftQCD:doubleDiffractive = on");
        if (tune > -1) ReadString(Form("Tune:pp = %3d", tune));
+       ReadString("PDF:useLHAPDF = off");
        break;
     case kPyLhwgMb:
 // Les Houches Working Group 05 Minimum Bias pp-Collisions: hep-ph/0604120