27b7c1fb |
1 | void sim(Int_t nev=20) { |
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())); |
27b7c1fb |
10 | |
11 | TStopwatch timer; |
12 | timer.Start(); |
13 | simulator.Run(nev); |
14 | timer.Stop(); |
15 | timer.Print(); |
16 | } |