]>
Commit | Line | Data |
---|---|---|
3928b038 | 1 | void sim(Int_t nev=1) { |
3390182c | 2 | // libraries required by geant321 |
3 | ||
4 | gSystem->Load("liblhapdf"); | |
5 | gSystem->Load("libEGPythia6"); | |
6 | gSystem->Load("libpythia6"); | |
7 | gSystem->Load("libAliPythia6"); | |
8 | gSystem->Load("libgeant321"); | |
9 | ||
257e1b2b | 10 | gSystem->Load("libHIJING"); |
3390182c | 11 | gSystem->Load("libTHijing"); |
12 | ||
13 | ||
3928b038 | 14 | AliSimulation simulator; |
15 | simulator.SetWriteRawData("ALL","raw.root",kTRUE); | |
16 | ||
162637e4 | 17 | simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); |
29451c4c | 18 | simulator.SetSpecificStorage("GRP/GRP/Data", |
19 | Form("local://%s",gSystem->pwd())); | |
a143c29a | 20 | simulator.SetSpecificStorage("VZERO/Calib/Data", |
21 | "local://$ALICE_ROOT/OCDB/VZERO/PbPb"); | |
29451c4c | 22 | |
3928b038 | 23 | TStopwatch timer; |
24 | timer.Start(); | |
25 | simulator.Run(nev); | |
26 | timer.Stop(); | |
27 | timer.Print(); | |
28 | } |