]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - test/vmctest/production/sim.C
Changes related to PID mode and parameters configuration (Rossella, Francesco)
[u/mrichter/AliRoot.git] / test / vmctest / production / sim.C
... / ...
CommitLineData
1// $Id$\r
2\r
3void sim(Int_t nev=20) {\r
4\r
5 AliSimulation simulator;\r
6 simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");\r
7 simulator.SetMakeDigitsFromHits("ITS TPC");\r
8 simulator.SetRunHLT("");\r
9 \r
10 // The raw data are not written due to the huge increase of the \r
11 // virtual memory in HLT\r
12 // simulator.SetWriteRawData("ALL","raw.root",kTRUE);\r
13 \r
14 simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");\r
15 \r
16 simulator.SetSpecificStorage("GRP/GRP/Data",\r
17 Form("local://%s",gSystem->pwd()));\r
18 \r
19 TStopwatch timer;\r
20 timer.Start();\r
21 simulator.Run(nev);\r
22 timer.Stop();\r
23 timer.Print();\r
24}\r