Support files added
[u/mrichter/AliRoot.git] / MFT / runReconstruction.C
1 void runReconstruction(Int_t seed, const Char_t *recOptions) {\r
2   \r
3   gRandom->SetSeed(seed);\r
4 \r
5   AliReconstruction *reco = new AliReconstruction("galice.root");\r
6 \r
7   // switch off cleanESD\r
8   reco->SetCleanESD(kFALSE);\r
9 \r
10   // GRP from local OCDB\r
11   reco->SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));\r
12   \r
13   // MUON Tracker\r
14   // reco->SetSpecificStorage("MUON/Align/Data","local:///$OCDB/simulation/2008/v4-15-Release/Residual");\r
15 \r
16   reco->SetRunReconstruction("MUON MFT");\r
17   reco->SetRunLocalReconstruction("MUON MFT");\r
18   reco->SetOption("MUON MFT",recOptions);\r
19   reco->SetRunQA("MUON:ALL");\r
20   reco->SetQAWriteExpert(AliQAv1::kMUON);\r
21   reco->SetQARefDefaultStorage("local://$ALICE_ROOT/QAref");\r
22 \r
23   reco->SetWriteESDfriend(kFALSE);\r
24   reco->SetStopOnError(kFALSE);\r
25 \r
26   TStopwatch timer;\r
27   timer.Start();\r
28   reco->Run();\r
29   timer.Stop();\r
30   timer.Print();\r
31 \r
32   delete reco;\r
33 \r
34 }\r