Technical fix: protection against in case QA is off.
[u/mrichter/AliRoot.git] / test / proof / rec.C
CommitLineData
33410957 1void rec(Int_t runNumber)\r
2{\r
3 gSystem->Load("libRAliEn.so");\r
4 gSystem->Load("libNet.so");\r
5\r
6 // Set the CDB storage location\r
7 AliCDBManager * man = AliCDBManager::Instance();\r
8 man->SetDefaultStorage("raw://");\r
9 \r
10 // Reconstruction settings\r
11 AliReconstruction rec;\r
12\r
13 // QA options\r
14 rec.SetRunQA(":") ;\r
15 rec.SetRunGlobalQA(kFALSE);\r
16 rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;\r
b5688f53 17 rec.SetRunPlaneEff(kTRUE);\r
33410957 18\r
19 // AliReconstruction settings\r
20 rec.SetWriteESDfriend(kTRUE);\r
21 rec.SetWriteAlignmentData();\r
22 rec.SetInput(Form("raw://run%d",runNumber));\r
23 rec.SetRunReconstruction("ALL -HLT");\r
24 rec.SetUseTrackingErrorsForAlignment("ITS");\r
25\r
26 rec.SetEventRange(0,10000);\r
27\r
28 // switch off cleanESD\r
29 rec.SetCleanESD(kFALSE);\r
30\r
31 rec.SetOutput(Form("root_archive.zip#AliESDs.root:AliESDs.root,AliESDfriends.root@dataset://run%d",runNumber));\r
32\r
33 rec.Run();\r
34}\r