]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/macros/train/AddMCGenPythia8.C
.so cleanup: removed from gSystem->Load()
[u/mrichter/AliRoot.git] / ANALYSIS / macros / train / AddMCGenPythia8.C
index 3a79878064c9bc8874ab2e6826c4b0572fd451e1..d38eb47f25a8510642d77017d768ef40caf48709 100644 (file)
@@ -4,7 +4,7 @@ AliGenerator* AddMCGenPythia8(Float_t e_cms = 2760., Bool_t kCR = kTRUE, Int_t k
   //    - Color reconnection = ON/OFF
   //    - Set k factor, default = 1; range of possible values in xmldoc/CouplingsAndScales.xml
 
-  gSystem->Load("liblhapdf.so");
+  gSystem->Load("liblhapdf");
  
   AliGenerator *genP = NULL;
   genP = CreatePythia8Gen(e_cms, kCR, kF);
@@ -14,11 +14,11 @@ AliGenerator* AddMCGenPythia8(Float_t e_cms = 2760., Bool_t kCR = kTRUE, Int_t k
 
 AliGenerator* CreatePythia8Gen(Float_t e_cms, Bool_t kCR, Int_t kF) {
     
-   gSystem->Load("libpythia6.so");
-   gSystem->Load("libEGPythia6.so");
-   gSystem->Load("libAliPythia6.so");
-   gSystem->Load("libpythia8.so");
-   gSystem->Load("libAliPythia8.so");
+   gSystem->Load("libpythia6");
+   gSystem->Load("libEGPythia6");
+   gSystem->Load("libAliPythia6");
+   gSystem->Load("libpythia8");
+   gSystem->Load("libAliPythia8");
    gSystem->Setenv("PYTHIA8DATA", gSystem->ExpandPathName("$ALICE_ROOT/PYTHIA8/pythia8175/xmldoc"));
    gSystem->Setenv("LHAPDF",      gSystem->ExpandPathName("$ALICE_ROOT/LHAPDF"));
    gSystem->Setenv("LHAPATH",     gSystem->ExpandPathName("$ALICE_ROOT/LHAPDF/PDFsets"));