e6c01043 |
1 | void sim(Int_t nev=1) { |
27b7c1fb |
2 | AliSimulation simulator; |
3 | simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO"); |
4 | simulator.SetMakeDigitsFromHits("ITS TPC"); |
5 | simulator.SetWriteRawData("ALL","raw.root",kTRUE); |
50258ad8 |
6 | |
7 | simulator.SetDefaultStorage("local://$ALICE_ROOT"); |
8 | simulator.SetSpecificStorage("GRP/GRP/Data", |
9 | Form("local://%s",gSystem->pwd())); |
e98db466 |
10 | simulator.SetRunQA("ALL:ALL") ; |
11 | AliQA::SetQARefStorage("local://$ALICE_ROOT") ; |
12 | |
13 | for (Int_t det = 0 ; det < AliQA::kNDET ; det++) { |
14 | simulator.SetQACycles(det, nev+1) ; |
15 | } |
16 | |
27b7c1fb |
17 | TStopwatch timer; |
18 | timer.Start(); |
19 | simulator.Run(nev); |
20 | timer.Stop(); |
21 | timer.Print(); |
22 | } |