end-of-line normalization
[u/mrichter/AliRoot.git] / MFT / runSimulation.C
CommitLineData
a65a7e70 1void runSimulation(Int_t seed,
2 Int_t nevents,
3 const Char_t *config,
4 Int_t runNumber) {
5
6 AliSimulation *simulator = new AliSimulation(config);
7
8 simulator->SetSeed(seed);
9 simulator->SetRunNumber(runNumber);
10 simulator->SetTriggerConfig("MUON");
11 simulator->SetMakeDigits("MUON MFT");
12 simulator->SetMakeSDigits("MUON MFT");
13 simulator->SetRunQA("DetectorList:ActionList");
14 simulator->SetRunHLT("");
15
16 // MUON Tracker -> local:///$OCDB should reflect the content of alien://folder=/alice
17 simulator->SetDefaultStorage("alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
18 simulator->SetSpecificStorage("MUON/Align/Data", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
19 simulator->SetSpecificStorage("MFT/Align/Data", "alien://folder=/alice/cern.ch/user/a/auras/OCDB/");
20
21 // The rest
22 TStopwatch timer;
23 timer.Start();
24 simulator->Run(nevents);
25 timer.Stop();
26 timer.Print();
27
28}