3928b038 |
1 | void sim(Int_t nev=4) { |
d79ed896 |
2 | |
3928b038 |
3 | AliSimulation simulator; |
4 | simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO"); |
5 | simulator.SetMakeDigitsFromHits("ITS TPC"); |
b87d8fcd |
6 | simulator.SetWriteRawData("ALL","raw.root",kTRUE); |
3928b038 |
7 | |
162637e4 |
8 | simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); |
d79ed896 |
9 | simulator.SetSpecificStorage("GRP/GRP/Data", |
10 | Form("local://%s",gSystem->pwd())); |
11 | |
3928b038 |
12 | TStopwatch timer; |
13 | timer.Start(); |
14 | simulator.Run(nev); |
15 | timer.Stop(); |
16 | timer.Print(); |
17 | } |