ac5c496947008b9b60269b4c0a2f4a2224404ad8
[u/mrichter/AliRoot.git] / test / genkine / gen / rungen.C
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 -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 }