static PprGeo_t geo = kHoles;
Float_t EtaToTheta(Float_t arg);
+void LoadPythia();
+
void Config()
{
AliLog::Message(AliLog::kInfo, Form("Seed for random number generation = %d",gRandom->GetSeed()), "Config.C", "Config.C", "Config()","Config.C", __LINE__);
-
- // libraries required by geant321
+ // Load Pythia libraries
+ LoadPythia();
+ // Libraries required by geant321
#if defined(__CINT__)
gSystem->Load("libgeant321");
#endif
Float_t EtaToTheta(Float_t arg){
return (180./TMath::Pi())*2.*atan(exp(-arg));
}
+
+
+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
+}
kHoles, kNoHoles
};
static PprGeo_t geo = kHoles;
+void LoadPythia();
void Config()
{
// gRandom->SetSeed(seed);
gRandom->SetSeed(12345);
cerr<<"Seed for random number generation= "<<seed<<endl;
-
+ // Load Pythia libraries
+ LoadPythia();
// libraries required by geant321
#if defined(__CINT__)
gSystem->Load("libgeant321");
}
+
+
+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
+}
kHoles, kNoHoles
};
static PprGeo_t geo = kHoles;
+void LoadPythia();
void Config()
{
// gRandom->SetSeed(seed);
gRandom->SetSeed(12345);
cerr<<"Seed for random number generation= "<<seed<<endl;
-
+ // Load Pythia libraries
+ LoadPythia();
// libraries required by geant321
#if defined(__CINT__)
gSystem->Load("libgeant321");
}
+
+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
+}
AliGenHijing* HijingStandard();
AliGenGeVSim* GeVSimStandard(Float_t, Float_t);
void ProcessEnvironmentVars();
+void LoadPythia();
void Config()
{
gRandom->SetSeed(sseed);
cout<<"Seed for random number generation= "<<gRandom->GetSeed()<<endl;
-
- // libraries required by geant321
+ // Load Pythia libraries
+ LoadPythia();
+
+ // libraries required by geant321
#if defined(__CINT__)
gSystem->Load("libgeant321");
#endif
sseed = atoi(gSystem->Getenv("CONFIG_SEED"));
}
}
+
+
+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
+}
{
static Int_t sseed = 0; // Set 0 to use the current time
+
+ // Load Pythia libraries
+ LoadPythia();
//=====================================================================
// Libraries required by geant321
- // gSystem->Load("liblhapdf.so");
- // gSystem->Load("libEGPythia6.so");
- // gSystem->Load("libPythia6.so");
- // gSystem->Load("libpythia6.so");
- // gSystem->Load("libAliPythia6.so");
-
gSystem->Load("libgeant321.so");
new TGeant3TGeo("C++ Interface to Geant3");
return (180./TMath::Pi())*2.*atan(exp(-arg));
}
+
+
+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
+}
//--- Functions ---
AliGenPythia *PythiaHVQ(ProcessHvFl_t proc);
+void LoadPythia();
// This part for configuration
// cerr<<"Seed for random number generation= "<<seed<<endl;
gRandom->SetSeed(12345);
-
+ // Load Pythia libraries
+ LoadPythia();
// libraries required by geant321
#if defined(__CINT__)
gSystem->Load("libgeant321");
+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
+}
+