Correction needed for decayer.
[u/mrichter/AliRoot.git] / PYTHIA8 / pythia8.C
index 267d5b7..755301e 100644 (file)
@@ -8,13 +8,12 @@ void pythia8(Int_t nev = 1, char* filename = "galice.root")
     gSystem->Load("libpythia6.so");   
     gSystem->Load("libAliPythia6.so");
     gSystem->Load("libpythia8.so");   
-    gSystem->Load("libEGPythia8.so"); 
     gSystem->Load("libAliPythia8.so");
     
     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);
@@ -86,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;
 }