Up-to-date list of classes (CMake)
[u/mrichter/AliRoot.git] / test / fpprod / sim.C
CommitLineData
c037cde2 1void sim(Int_t nev=5) {
7fb59432 2 if (!strcmp(gSystem->GetBuildArch(),"win32gcc")) {
3 gSystem->Load("libProof");
4 gSystem->Load("libGui");
5 gROOT->Macro("loadlibssim.C");
6 new AliRun("gAlice","The ALICE Off-line Simulation Framework");
7 }
28b75255 8
9 AliSimulation simulator;
10 simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD ZDC PMD T0 VZERO");
11 simulator.SetMakeDigitsFromHits("ITS TPC");
7fb59432 12 if (strcmp(gSystem->GetBuildArch(),"win32gcc")) {
13 simulator.SetWriteRawData("ALL","raw.root",kTRUE);
14 }
28b75255 15 simulator.SetRunHLT("");
2e6a01a0 16 simulator.SetRunQA(":");
28b75255 17
18 TStopwatch timer;
19 timer.Start();
20 simulator.Run(nev);
21 timer.Stop();
22 timer.Print();
23}