Typo
[u/mrichter/AliRoot.git] / prod / acrcaf / reco / rec.C
CommitLineData
fb6fc115 1void rec(Int_t runNumber, Int_t nev=10000, Int_t firstev=0)\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
17\r
18 // AliReconstruction settings\r
19 rec.SetWriteESDfriend(kTRUE);\r
20 rec.SetWriteAlignmentData();\r
21 rec.SetInput(Form("raw://run%d",runNumber));\r
22// rec.SetRunReconstruction("ALL -HLT -PMD -MUON -PHOS");\r
23 rec.SetRunReconstruction("ALL");\r
24 rec.SetUseTrackingErrorsForAlignment("ITS");\r
25\r
26 Int_t lastev=nev+firstev-1;\r
27 rec.SetEventRange(0,lastev);\r
28\r
29 // high flux settings (for injection test runs)\r
30 // rec.SetRecoParam("ITS", AliITSRecoParam::GetHighFluxParam());\r
31\r
32 // switch off cleanESD\r
33 rec.SetCleanESD(kFALSE);\r
34\r
35 rec.SetOutput(Form("root_archive.zip#AliESDs.root:AliESDs.root,AliESDfriends.root@dataset://run%d",runNumber));\r
36\r
37 rec.Run();\r
38}\r