Compatibility with changes with Pythia6
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 17:10:53 +0000 (17:10 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 17:10:53 +0000 (17:10 +0000)
HMPID/Hconfig.C

index 997aaf85abe09ae0f3c5fba93f1829bc1794bc8c..95ce27602bdf7e2bdfea37fed798b82968613513 100644 (file)
@@ -745,7 +745,11 @@ void HmpConfig::WriteConfig()
   fprintf(pF,"  pAL->SetNumberOfEventsPerFile(1000);\n");
   fprintf(pF,"  gAlice->SetRunLoader(pAL);\n\n");
 //Decayer  
-  if(fDecayerB->GetState()==kButtonDown){   
+  if(fDecayerB->GetState()==kButtonDown){
+    fprintf(pF,"  gSystem->Load(\"liblhapdf.so\"); // Parton density functions \n");
+    fprintf(pF,"  gSystem->Load(\"libEGPythia6.so\");   // TGenerator interface \n");
+    fprintf(pF,"  gSystem->Load(\"libpythia6.so\");   // Pythia \n");
+    fprintf(pF,"  gSystem->Load(\"libAliPythia6.so\");   // ALICE specifics implementations \n\n");
     fprintf(pF,"  AliDecayer *pDecayer=new AliDecayerPythia();\n");
     fprintf(pF,"  pDecayer->SetForceDecay(kAll);\n"); 
     fprintf(pF,"  pDecayer->Init();\n");