Config.C updated
[u/mrichter/AliRoot.git] / MFT / runReconstruction.C
CommitLineData
a65a7e70 1void runReconstruction(Int_t seed, const Char_t *recOptions) {
2
3 gRandom->SetSeed(seed);
4
5 AliReconstruction *reco = new AliReconstruction("galice.root");
6
7 // switch off cleanESD
8 reco->SetCleanESD(kFALSE);
9
10 // GRP from local OCDB
11 reco->SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));
12
13 reco->SetDefaultStorage("alien://folder=/alice/data/2011/OCDB");
14
15 reco->SetSpecificStorage("MUON/Align/Data", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
16 reco->SetSpecificStorage("MUON/Calib/Capacitances", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
17 reco->SetSpecificStorage("MUON/Calib/Config", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
18 reco->SetSpecificStorage("MUON/Calib/Gain", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
19 reco->SetSpecificStorage("MUON/Calib/GlobalTriggerBoardMasks", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
20 reco->SetSpecificStorage("MUON/Calib/GlobalTriggerCrateConfig", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
21 reco->SetSpecificStorage("MUON/Calib/HV", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
22 reco->SetSpecificStorage("MUON/Calib/LocalTriggerBoardMasks", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
23 reco->SetSpecificStorage("MUON/Calib/MappingData", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
24 reco->SetSpecificStorage("MUON/Calib/MappingRunData", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
25 reco->SetSpecificStorage("MUON/Calib/Neighbours", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
26 reco->SetSpecificStorage("MUON/Calib/OccupancyMap", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
27 reco->SetSpecificStorage("MUON/Calib/Pedestals", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
28 reco->SetSpecificStorage("MUON/Calib/RegionalTriggerBoardMasks", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
29 reco->SetSpecificStorage("MUON/Calib/RegionalTriggerConfig", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
30 reco->SetSpecificStorage("MUON/Calib/RejectList", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
31 reco->SetSpecificStorage("MUON/Calib/TriggerDCS", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
32 reco->SetSpecificStorage("MUON/Calib/TriggerEfficiency", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
33 reco->SetSpecificStorage("MUON/Calib/TriggerLut", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
34
35 reco->SetSpecificStorage("MUON/Calib/RecoParam", "alien://folder=/alice/cern.ch/user/a/auras/OCDB/");
36 reco->SetSpecificStorage("MFT/Align/Data", "alien://folder=/alice/cern.ch/user/a/auras/OCDB/");
37 reco->SetSpecificStorage("MFT/Calib/RecoParam", "alien://folder=/alice/cern.ch/user/a/auras/OCDB/");
38
39 reco->SetRunReconstruction("MUON MFT");
40 reco->SetRunLocalReconstruction("MUON MFT");
41 reco->SetOption("MUON MFT",recOptions);
42 // reco->SetRunQA("DetectorList:ActionList");
43 // reco->SetQAWriteExpert(AliQAv1::kMUON);
44
45 reco->SetWriteESDfriend(kFALSE);
46 reco->SetStopOnError(kFALSE);
47
48 TStopwatch timer;
49 timer.Start();
50 reco->Run();
51 timer.Stop();
52 timer.Print();
53
54 delete reco;
55
56}