Correct formula for the error on significance
[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
bcaf50eb 16 // MUON Tracker -> local:///$OCDB should reflect the content of alien://folder=/alice\r
17 simulator->SetSpecificStorage("MUON/Align/Data", "local:///$OCDB/simulation/2008/v4-15-Release/Ideal");\r
18 simulator->SetSpecificStorage("MUON/Calib/Gains","local:///$OCDB/simulation/2008/v4-15-Release/Ideal");\r
c95698be 19\r
20 // The rest\r
21 TStopwatch timer;\r
22 timer.Start();\r
23 simulator->Run(nevents);\r
24 timer.Stop();\r
25 timer.Print();\r
26\r
27}\r