1 typedef enum {kPhojet = -1, kPyTuneCDFA=100,kPyTuneAtlasCSC=306, kPyTuneCMS6D6T=109, kPyTunePerugia0=320 } Tune_t;
3 void rungen(Tune_t tune = kPyTuneCDFA, Float_t energy, Int_t nev=1, TString process, Int_t random_index = 0){
4 // Simulation and reconstruction
7 gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include -I$ALICE_ROOT");
8 gSystem->Load("liblhapdf.so"); // Parton density functions
10 cout << "Loading phojet" << endl;
13 gSystem->Load("libpythia6.so"); // Pythia
14 gSystem->Load("libdpmjet.so"); //
15 gSystem->Load("libTDPMjet.so"); //
17 else if (tune == kPyTunePerugia0) {
18 gSystem->Load("libEGPythia6.so"); // TGenerator interface
19 gSystem->Load("libpythia6.4.21.so"); // Pythia
20 gSystem->Load("libAliPythia6.so"); // ALICE specific implementations
24 gSystem->Load("libEGPythia6.so"); // TGenerator interface
25 gSystem->Load("libqpythia.so"); // Pythia
26 gSystem->Load("libAliPythia6.so"); // ALICE specific implementations
28 gROOT->LoadMacro("fastGen.C");
29 fastGen(tune, energy, nev, process);