]> git.uio.no Git - u/mrichter/AliRoot.git/blame - test/gun/sim.C
style modifications (Markus)
[u/mrichter/AliRoot.git] / test / gun / sim.C
CommitLineData
3928b038 1void sim(Int_t nev=4) {
d79ed896 2
3928b038 3 AliSimulation simulator;
b546ca27 4 simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO ACORDE");
3928b038 5 simulator.SetMakeDigitsFromHits("ITS TPC");
b87d8fcd 6 simulator.SetWriteRawData("ALL","raw.root",kTRUE);
3928b038 7
162637e4 8 simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
d79ed896 9 simulator.SetSpecificStorage("GRP/GRP/Data",
10 Form("local://%s",gSystem->pwd()));
11
3928b038 12 TStopwatch timer;
13 timer.Start();
14 simulator.Run(nev);
15 timer.Stop();
16 timer.Print();
17}