3928b038 |
1 | void rungen(Int_t nev=1){ |
2 | // Simulation and reconstruction |
3 | TStopwatch timer; |
4 | timer.Start(); |
5 | gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include -I$ALICE_ROOT"); |
d7b8d4b5 |
6 | gSystem->Load("liblhapdf.so"); // Parton density functions |
7 | gSystem->Load("libEGPythia6.so"); // TGenerator interface |
8 | gSystem->Load("libpythia6.so"); // Pythia |
9 | gSystem->Load("libAliPythia6.so"); // ALICE specific implementations |
3928b038 |
10 | gROOT->LoadMacro("fastGen.C+"); |
11 | fastGen(nev); |
12 | timer.Stop(); |
13 | timer.Print(); |
14 | } |