Double check if SM is running added. Some redundant output removed from SM
[u/mrichter/AliRoot.git] / MFT / runReconstruction.C
CommitLineData
190a8304 1void runReconstruction(const Char_t *recOptions) {
a65a7e70 2
190a8304 3 TDatime dt;
4 UInt_t seed = dt.Get();
5
a65a7e70 6 gRandom->SetSeed(seed);
7
8 AliReconstruction *reco = new AliReconstruction("galice.root");
9
10 // switch off cleanESD
11 reco->SetCleanESD(kFALSE);
12
13 // GRP from local OCDB
14 reco->SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));
15
ad597c71 16 // MUON Tracker
17 reco->SetSpecificStorage("MUON/Align/Data", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
18 reco->SetSpecificStorage("MUON/Calib/RecoParam","alien://folder=/alice/cern.ch/user/a/auras/OCDB/");
a65a7e70 19
a65a7e70 20 reco->SetOption("MUON MFT",recOptions);
ad597c71 21 reco->SetRunQA(":");
22// reco->SetQAWriteExpert(AliQAv1::kMUON);
23// reco->SetQARefDefaultStorage("local://$ALICE_ROOT/QAref");
a65a7e70 24
25 reco->SetWriteESDfriend(kFALSE);
26 reco->SetStopOnError(kFALSE);
27
28 TStopwatch timer;
29 timer.Start();
30 reco->Run();
31 timer.Stop();
32 timer.Print();
33
34 delete reco;
35
36}