Update master to aliroot
[u/mrichter/AliRoot.git] / test / genkine / gen / rungen.C
... / ...
CommitLineData
1void 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 -I$ALICE_ROOT/EVGEN");
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
10 gROOT->LoadMacro("fastGen.C+");
11 fastGen(nev);
12 timer.Stop();
13 timer.Print();
14}