Loading additional libraries
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Apr 2008 10:31:55 +0000 (10:31 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Apr 2008 10:31:55 +0000 (10:31 +0000)
test/genkine/gen/rungen.C
test/genkine/sim/Config.C
test/merge/backgr/Config.C
test/merge/signal/Config.C

index 29650a1c06c6d8d578b51dc28374ed32f54b00a5..8c88bcda8f9cd51df4c85685f4ffdbb2a54d201f 100644 (file)
@@ -3,6 +3,10 @@ void rungen(Int_t nev=1){
   TStopwatch timer;
   timer.Start();
   gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include -I$ALICE_ROOT");
+  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
   gROOT->LoadMacro("fastGen.C+");
   fastGen(nev);
   timer.Stop();
index 072600ab3fcf75bf310629cc81842ec4e9afc030..fab2fafaaba3933cd421ea0c67ddedf28094f044 100644 (file)
@@ -109,9 +109,13 @@ void Config()
   
 
 
-   // libraries required by geant321
+   // libraries required by geant321 and Pythia6
 #if defined(__CINT__)
     gSystem->Load("libgeant321");
+    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
 #endif
 
     new     TGeant3TGeo("C++ Interface to Geant3");
index 671dad30a99d57ccea227a5b498f195cf11c8b2e..31d2bf490021ba91a4ae7ff633d3a41feb7c8391 100644 (file)
@@ -159,9 +159,13 @@ void Config()
     cout<<"Seed for random number generation= "<<gRandom->GetSeed()<<endl; 
 
 
-   // libraries required by geant321
+   // libraries required by geant321 and Pythia6
 #if defined(__CINT__)
     gSystem->Load("libgeant321");
+    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
 #endif
 
     new     TGeant3TGeo("C++ Interface to Geant3");
index 9f37a14d21aca39d19cb8a5f45abe213aa3c8554..3480324e2e45417f8e858223c5e95168af15a039 100644 (file)
@@ -159,9 +159,13 @@ void Config()
     cout<<"Seed for random number generation= "<<gRandom->GetSeed()<<endl; 
 
 
-   // libraries required by geant321
+   // libraries required by geant321 and Pythia6
 #if defined(__CINT__)
     gSystem->Load("libgeant321");
+    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
 #endif
 
     new     TGeant3TGeo("C++ Interface to Geant3");