]>
Commit | Line | Data |
---|---|---|
3928b038 | 1 | void sim(Int_t nev=1) { |
5c4f93c0 | 2 | |
b0635849 | 3 | gSystem->Load("liblhapdf"); // Parton density functions |
4 | gSystem->Load("libEGPythia6"); // TGenerator interface | |
5 | gSystem->Load("libpythia6"); // Pythia | |
6 | gSystem->Load("libAliPythia6"); // ALICE specific implementations | |
5c4f93c0 | 7 | gSystem->Load("libgeant321"); |
8 | ||
3928b038 | 9 | AliSimulation simulator; |
10 | ||
162637e4 | 11 | simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); |
fba5a2bd | 12 | simulator.SetSpecificStorage("GRP/GRP/Data", |
13 | Form("local://%s",gSystem->pwd())); | |
14 | ||
3928b038 | 15 | TStopwatch timer; |
16 | timer.Start(); | |
17 | simulator.Run(nev); | |
18 | timer.Stop(); | |
19 | timer.Print(); | |
20 | } |