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