]>
Commit | Line | Data |
---|---|---|
7fb59432 | 1 | void sim(Int_t nev=20) { |
3928b038 | 2 | new AliRun("gAlice","The ALICE Off-line Simulation Framework"); |
3 | ||
4 | AliSimulation simulator; | |
5 | simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO"); | |
3171e607 | 6 | simulator.SetMakeDigitsFromHits("ITS TPC"); |
3928b038 | 7 | |
162637e4 | 8 | simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); |
16b2f4a1 | 9 | simulator.SetSpecificStorage("GRP/GRP/Data", |
10 | Form("local://%s",gSystem->pwd())); | |
3171e607 | 11 | simulator.SetRunQA(":"); |
12 | ||
3928b038 | 13 | TStopwatch timer; |
14 | timer.Start(); | |
15 | simulator.Run(nev); | |
16 | timer.Stop(); | |
17 | timer.Print(); | |
18 | } |