Use PHOS version Run1
[u/mrichter/AliRoot.git] / MONITOR / rec.C
CommitLineData
80f17fb9 1void rec(const char *filename="raw.root")
2{
3 /////////////////////////////////////////////////////////////////////////////////////////
4 //
5 // Script for the online reconstruction/visualization
6 //
7 /////////////////////////////////////////////////////////////////////////////////////////
d18182ee 8 AliTPCRecoParam::SetUseTimeCalibration(kFALSE);
80f17fb9 9
10 // Setting CDB
11 AliCDBManager * man = AliCDBManager::Instance();
12 man->SetDefaultStorage("local:///local/cdb");
13 man->SetSpecificStorage("GRP/GRP/Data",
14 Form("local://%s/..",gSystem->pwd()));
15 man->SetSpecificStorage("GRP/CTP/Config",
16 Form("local://%s/..",gSystem->pwd()));
17
18 // Reconstruction settings
19 AliReconstruction rec;
20
21 // QA options
e849dadd 22
23 rec.SetRunQA(":");
80f17fb9 24 rec.SetRunGlobalQA(kFALSE);
25 rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
b5688f53 26 rec.SetRunPlaneEff(kTRUE);
80f17fb9 27
28 // AliReconstruction settings
29 rec.SetWriteESDfriend(kTRUE);
30 rec.SetWriteAlignmentData();
31 rec.SetInput(filename);
d18182ee 32 rec.SetRunReconstruction("ALL -PHOS -HLT");
80f17fb9 33 rec.SetUseTrackingErrorsForAlignment("ITS");
34
35 // switch off cleanESD
36 rec.SetCleanESD(kFALSE);
37
38 AliLog::Flush();
39 rec.Run();
40
41}