]>
Commit | Line | Data |
---|---|---|
3928b038 | 1 | void sim(Int_t nev=1) { |
2 | AliSimulation simulator; | |
3 | simulator.SetWriteRawData("ALL","raw.root",kTRUE); | |
4 | ||
162637e4 | 5 | simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); |
29451c4c | 6 | simulator.SetSpecificStorage("GRP/GRP/Data", |
7 | Form("local://%s",gSystem->pwd())); | |
a143c29a | 8 | simulator.SetSpecificStorage("VZERO/Calib/Data", |
9 | "local://$ALICE_ROOT/OCDB/VZERO/PbPb"); | |
29451c4c | 10 | |
3928b038 | 11 | TStopwatch timer; |
12 | timer.Start(); | |
13 | simulator.Run(nev); | |
14 | timer.Stop(); | |
15 | timer.Print(); | |
16 | } |