1 void sim(Int_t nev=20) {
2 if (gSystem->Getenv("EVENT"))
3 nev = atoi(gSystem->Getenv("EVENT")) ;
5 AliSimulation simulator;
6 simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
7 simulator.SetMakeDigitsFromHits("ITS TPC");
8 simulator.SetWriteRawData("ALL","raw.root",kTRUE);
10 simulator.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
11 simulator.SetSpecificStorage("GRP/GRP/Data",
12 Form("local://%s",gSystem->pwd()));
14 simulator.SetRunQA("ALL:ALL") ;
16 simulator.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
18 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
19 simulator.SetQACycles(det, nev+1) ;