fix AliHLTGlobalEsdConverterComponent
[u/mrichter/AliRoot.git] / MFT / runReconstruction.C
index f8bf6f1..eae76dc 100644 (file)
@@ -1,35 +1,36 @@
-void runReconstruction(Int_t seed, const Char_t *recOptions) {\r
-  \r
-  gRandom->SetSeed(seed);\r
-\r
-  AliReconstruction *reco = new AliReconstruction("galice.root");\r
-\r
-  // switch off cleanESD\r
-  reco->SetCleanESD(kFALSE);\r
-\r
-  // GRP from local OCDB\r
-  reco->SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));\r
-  \r
-  // MUON Tracker -> local:///$OCDB should reflect the content of alien://folder=/alice\r
-  reco->SetSpecificStorage("MUON/Align/Data",      "local:///$OCDB/simulation/2008/v4-15-Release/Residual");\r
-  reco->SetSpecificStorage("MUON/Calib/RecoParam", "local:///$OCDB/simulation/2008/v4-15-Release/Full");\r
-\r
-  reco->SetRunReconstruction("MUON MFT");\r
-  reco->SetRunLocalReconstruction("MUON MFT");\r
-  reco->SetOption("MUON MFT",recOptions);\r
-  reco->SetRunQA("MUON:ALL");\r
-  reco->SetQAWriteExpert(AliQAv1::kMUON);\r
-  reco->SetQARefDefaultStorage("local://$ALICE_ROOT/QAref");\r
-\r
-  reco->SetWriteESDfriend(kFALSE);\r
-  reco->SetStopOnError(kFALSE);\r
-\r
-  TStopwatch timer;\r
-  timer.Start();\r
-  reco->Run();\r
-  timer.Stop();\r
-  timer.Print();\r
-\r
-  delete reco;\r
-\r
-}\r
+void runReconstruction(const Char_t *recOptions) {
+  
+  TDatime dt;
+  UInt_t seed = dt.Get();
+
+  gRandom->SetSeed(seed);
+
+  AliReconstruction *reco = new AliReconstruction("galice.root");
+
+  // switch off cleanESD
+  reco->SetCleanESD(kFALSE);
+
+  // GRP from local OCDB
+  reco->SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));
+  
+  // MUON Tracker
+  reco->SetSpecificStorage("MUON/Align/Data",     "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
+  reco->SetSpecificStorage("MUON/Calib/RecoParam","alien://folder=/alice/cern.ch/user/a/auras/OCDB/");
+
+  reco->SetOption("MUON MFT",recOptions);
+  reco->SetRunQA(":");
+//   reco->SetQAWriteExpert(AliQAv1::kMUON);
+//   reco->SetQARefDefaultStorage("local://$ALICE_ROOT/QAref");
+
+  reco->SetWriteESDfriend(kFALSE);
+  reco->SetStopOnError(kFALSE);
+
+  TStopwatch timer;
+  timer.Start();
+  reco->Run();
+  timer.Stop();
+  timer.Print();
+
+  delete reco;
+
+}