]> git.uio.no Git - u/mrichter/AliRoot.git/blob - prod/LHC09d2/sim.C
This is a backward incompatible change in AliRoot. The following methods have been...
[u/mrichter/AliRoot.git] / prod / LHC09d2 / sim.C
1 void sim(Int_t nev=200) {\r
2 \r
3   AliSimulation simulator;\r
4   simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");\r
5   simulator.SetMakeDigitsFromHits("ITS TPC");\r
6 \r
7   // The raw data are not written due to the huge increase of the \r
8   // virtual memory in HLT\r
9   //  simulator.SetWriteRawData("ALL","raw.root",kTRUE);\r
10 \r
11   simulator.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");\r
12 //   simulator.SetSpecificStorage("GRP/GRP/Data",\r
13 //                             Form("local://%s",gSystem->pwd()));\r
14  \r
15   TStopwatch timer;\r
16   timer.Start();\r
17   simulator.Run(nev);\r
18   timer.Stop();\r
19   timer.Print();\r
20 }\r