X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=test%2Fppbench%2Fsim.C;h=c88e6d90e0d43db278ab795d810650f653f91a26;hp=98b54f3899ab6d312c946deffcbfa5fb72cfdf84;hb=9ac9192080f147a90d61ee5afa3fcebc4f48aa61;hpb=e6c01043b55adf0bc7c8026520b89bed859e9129 diff --git a/test/ppbench/sim.C b/test/ppbench/sim.C index 98b54f3899a..c88e6d90e0d 100644 --- a/test/ppbench/sim.C +++ b/test/ppbench/sim.C @@ -1,15 +1,20 @@ -void sim(Int_t nev=1) { +void sim(Int_t nev=20) { + if (gSystem->Getenv("EVENT")) + nev = atoi(gSystem->Getenv("EVENT")) ; + AliSimulation simulator; simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO"); simulator.SetMakeDigitsFromHits("ITS TPC"); simulator.SetWriteRawData("ALL","raw.root",kTRUE); - simulator.SetDefaultStorage("local://$ALICE_ROOT"); + simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); simulator.SetSpecificStorage("GRP/GRP/Data", Form("local://%s",gSystem->pwd())); + simulator.SetRunQA("ALL:ALL") ; - AliQA::SetQARefStorage("local://$ALICE_ROOT") ; + simulator.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ; + for (Int_t det = 0 ; det < AliQA::kNDET ; det++) { simulator.SetQACycles(det, nev+1) ; }