ce812f4f |
1 | void sim(Int_t nev=10) { |
2 | |
3 | AliSimulation simu; |
4 | simu.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO"); |
5 | simu.SetMakeDigitsFromHits("ITS TPC"); |
6 | |
7 | simu.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal"); |
8 | |
9 | // No write access to the OCDB => specific storage |
10 | simu.SetSpecificStorage("GRP/GRP/Data", |
11 | Form("local://%s",gSystem->pwd())); |
12 | |
13 | TStopwatch timer; |
14 | timer.Start(); |
15 | simu.Run(nev); |
16 | timer.Stop(); |
17 | timer.Print(); |
18 | } |