// gAlice->SetConfigFunction("Config('$HOME','box');");
// april 3rd: added L3 magnet
+void LoadPythia();
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");
}
+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
+}
+