Updating the functionality of AliAnalysisHadEtCorrections to accomodate centrality...
[u/mrichter/AliRoot.git] / prod / LHC09a15 / sim.C
CommitLineData
1619a4d3 1void sim(Int_t nev=200) {\r
2\r
3 AliSimulation MuonSim;\r
4 MuonSim.SetMakeTrigger("MUON");\r
5 MuonSim.SetMakeSDigits("MUON ITS");\r
6 MuonSim.SetMakeDigits("MUON ITS VZERO");\r
7 MuonSim.SetWriteRawData("MUON ITS VZERO HLT","raw.root",kTRUE);\r
8 MuonSim.SetRunHLT("libAliHLTMUON.so chains=dHLT-sim");\r
9 MuonSim.SetRunQA("MUON:ALL");\r
10 \r
11 MuonSim.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/"); \r
12 \r
13 // QA reference\r
14 MuonSim.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;\r
15\r
16 // HLT\r
17 MuonSim.SetSpecificStorage("HLT/ConfigMUON/DecisionComponent","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb");\r
18 MuonSim.SetSpecificStorage("HLT/ConfigMUON/HitReconstructor","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb");\r
19 MuonSim.SetSpecificStorage("HLT/ConfigMUON/MansoTrackerFSM","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb");\r
20 MuonSim.SetSpecificStorage("HLT/ConfigMUON/TriggerReconstructor","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb");\r
21 \r
22 // CTP\r
23 MuonSim.SetSpecificStorage("GRP/CTP/Config","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb");\r
24 \r
25 // alignment\r
26 MuonSim.SetSpecificStorage("MUON/Align/Data","alien://Folder=/alice/simulation/2008/v4-15-Release/Full");\r
27 \r
28 // trigger masks\r
29 MuonSim.SetSpecificStorage("MUON/Calib/GlobalTriggerCrateConfig","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb");\r
30 MuonSim.SetSpecificStorage("MUON/Calib/LocalTriggerBoardMasks","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb");\r
31 \r
32 // tracker masks\r
33 MuonSim.SetSpecificStorage("MUON/Calib/Gains","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb/sim");\r
34 MuonSim.SetSpecificStorage("MUON/Calib/Pedestals","alien://Folder=/alice/cern.ch/user/b/bogdan/prod2009/cdb/sim");\r
35\r
36 TStopwatch timer;\r
37 timer.Start();\r
38 \r
39 MuonSim.Run(nev);\r
40 \r
41 timer.Stop();\r
42 timer.Print();\r
43 \r
44}\r