Removing obsolete calls
[u/mrichter/AliRoot.git] / prod / cosmic / rec.C
CommitLineData
bb72d990 1void rec(const char *filename="raw.root")\r
40d0f38f 2{\r
40d0f38f 3 /////////////////////////////////////////////////////////////////////////////////////////\r
4 //\r
bb72d990 5 // First version of the reconstruction\r
6 // script for the 2009 data (LHC09b) \r
09244196 7 //\r
8 /////////////////////////////////////////////////////////////////////////////////////////\r
40d0f38f 9\r
10 // Set the CDB storage location\r
40d0f38f 11 AliCDBManager * man = AliCDBManager::Instance();\r
bb72d990 12 man->SetDefaultStorage("raw://");\r
40d0f38f 13 \r
09244196 14 // Reconstruction settings\r
15 AliReconstruction rec;\r
40d0f38f 16\r
bb72d990 17 // QA options\r
18 rec.SetRunQA("ALL:ALL") ;\r
19 rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;\r
40d0f38f 20\r
40d0f38f 21 // AliReconstruction settings\r
40d0f38f 22 rec.SetWriteESDfriend(kTRUE);\r
23 rec.SetWriteAlignmentData();\r
21d4a8d1 24 rec.SetInput(filename);\r
bb72d990 25 rec.SetRunReconstruction("ALL");\r
40d0f38f 26 rec.SetUseTrackingErrorsForAlignment("ITS");\r
27\r
40d0f38f 28 // switch off cleanESD\r
29 rec.SetCleanESD(kFALSE);\r
30\r
40d0f38f 31 AliLog::Flush();\r
32 rec.Run();\r
33\r
40d0f38f 34}\r