Recent first physics productions.
[u/mrichter/AliRoot.git] / prod / LHC09d5 / sim.C
1 void sim(Int_t nev=200) {\r
2   AliSimulation simulator;\r
3   simulator.SetRunHLT("");\r
4   simulator.SetMakeSDigits("VZERO");\r
5   simulator.SetMakeDigitsFromHits("ITS");\r
6   simulator.SetMakeDigits("ITS VZERO");\r
7   \r
8 //  simulator.SetWriteRawData("ALL","raw.root",kTRUE);\r
9 \r
10   simulator.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");\r
11 \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