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 29650a1..8c88bcd 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 072600a..fab2faf 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 671dad3..31d2bf4 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 9f37a14..3480324 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");