Support files added
[u/mrichter/AliRoot.git] / MFT / runSimulation.C
CommitLineData
c95698be 1void runSimulation(Int_t seed,\r
2 Int_t nevents,\r
3 const Char_t *config,\r
4 Int_t runNumber) {\r
5 \r
6 AliSimulation *simulator = new AliSimulation(config);\r
7\r
8 simulator->SetSeed(seed);\r
9 simulator->SetRunNumber(runNumber);\r
10 simulator->SetTriggerConfig("MUON");\r
11 simulator->SetMakeDigits("MUON MFT");\r
12 simulator->SetMakeSDigits("MUON MFT");\r
13 simulator->SetRunQA("ALL");\r
14 simulator->SetRunHLT("");\r
15\r
16 // MUON Tracker\r
17 // simulator->SetSpecificStorage("MUON/Align/Data", "local:///$OCDB/simulation/2008/v4-15-Release/Ideal");\r
18\r
19 // The rest\r
20 TStopwatch timer;\r
21 timer.Start();\r
22 simulator->Run(nevents);\r
23 timer.Stop();\r
24 timer.Print();\r
25\r
26}\r