]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/Config_PDC06_MUON.C
Load pythia libraries.
[u/mrichter/AliRoot.git] / macros / Config_PDC06_MUON.C
index 8d38b897ee494750b830177e6d036c47a352a66e..42ae5cc4cc004ee27a3cb88364d1e7ea3d611ae1 100644 (file)
@@ -4,6 +4,7 @@
 // gAlice->SetConfigFunction("Config('$HOME','box');");
 // april 3rd: added L3 magnet 
 
+void LoadPythia();
 
 void Config(char directory[100]="", char option[6]="trg1mu")
 {
@@ -11,13 +12,7 @@ void Config(char directory[100]="", char option[6]="trg1mu")
   static Int_t sseed = 0; // Set 0 to use the current time
 
   //=====================================================================
-  //  Libraries required by geant321
-  //  gSystem->Load("liblhapdf.so");
-  //  gSystem->Load("libEGPythia6.so");
-  //  gSystem->Load("libPythia6.so");
-  //  gSystem->Load("libpythia6.so");
-  //  gSystem->Load("libAliPythia6.so");
-  
+  LoadPythia();
   gSystem->Load("libgeant321.so");
   new TGeant3TGeo("C++ Interface to Geant3");
   
@@ -232,4 +227,13 @@ Float_t EtaToTheta(Float_t arg){
 }
 
 
+void LoadPythia()
+{
+    // Load Pythia related libraries
+    gSystem->Load("liblhapdf.so");      // Parton density functions
+    gSystem->Load("libEGPythia6.so");   // TGenerator interface
+    gSystem->Load("libpythia6.so");     // Pythia
+    gSystem->Load("libAliPythia6.so");  // ALICE specific implementations
+}
+