]>
Commit | Line | Data |
---|---|---|
7fb59432 | 1 | void sim(Int_t nev=20) { |
149be174 | 2 | gSystem->Load("libProof"); |
ed3d1cab | 3 | gSystem->Load("libGui"); |
3928b038 | 4 | if (!strcmp(gSystem->GetBuildArch(),"macosx")) gSystem->Load("libf95"); |
5 | gROOT->Macro("loadlibssim.C"); | |
6 | new AliRun("gAlice","The ALICE Off-line Simulation Framework"); | |
7 | ||
8 | AliSimulation simulator; | |
9 | simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO"); | |
10 | simulator.SetMakeDigitsFromHits("ITS TPC"); | |
7fb59432 | 11 | /* simulator.SetWriteRawData("ALL","raw.root",kTRUE); */ |
12 | simulator.SetRunHLT(""); | |
9b5a9d72 | 13 | simulator.SetRunQA(":"); |
3928b038 | 14 | |
15 | TStopwatch timer; | |
16 | timer.Start(); | |
17 | simulator.Run(nev); | |
18 | timer.Stop(); | |
19 | timer.Print(); | |
20 | } |