Correction needed for decayer.
[u/mrichter/AliRoot.git] / PYTHIA8 / pythia8.C
index 3cf6799..755301e 100644 (file)
@@ -13,7 +13,7 @@ void pythia8(Int_t nev = 1, char* filename = "galice.root")
     AliRunLoader* rl = AliRunLoader::Open("galice.root","FASTRUN","recreate");
     
     rl->SetCompressionLevel(2);
-    rl->SetNumberOfEventsPerFile(nev);
+    rl->SetNumberOfEventsPerFile(10000);
     rl->LoadKinematics("RECREATE");
     rl->MakeTree("E");
     gAlice->SetRunLoader(rl);
@@ -85,11 +85,11 @@ AliGenerator*  CreateGenerator()
     AliGenPythiaPlus* gener = new AliGenPythiaPlus(AliPythia8::Instance());
 //
 //
-    gener->SetProcess(kPyMb);
+    gener->SetProcess(kPyMbDefault);
 //   Centre of mass energy 
-    gener->SetEnergyCMS(14000.);
+    gener->SetEnergyCMS(7000.);
 //   Initialize generator    
-    gener->SetEventListRange(-1, 10)
+    gener->SetEventListRange(-1, 10);
     return gener;
 }