]> git.uio.no Git - u/mrichter/AliRoot.git/blame - test/pploadlibs/sim.C
adapted macro to QAManager
[u/mrichter/AliRoot.git] / test / pploadlibs / sim.C
CommitLineData
7fb59432 1void sim(Int_t nev=20) {
3928b038 2 gROOT->Macro("loadlibssim.C");
3 new AliRun("gAlice","The ALICE Off-line Simulation Framework");
4
5 AliSimulation simulator;
6 simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
7 simulator.SetMakeDigitsFromHits("ITS TPC");
3928b038 8
162637e4 9 simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
16b2f4a1 10 simulator.SetSpecificStorage("GRP/GRP/Data",
11 Form("local://%s",gSystem->pwd()));
3928b038 12 TStopwatch timer;
13 timer.Start();
14 simulator.Run(nev);
15 timer.Stop();
16 timer.Print();
17}