]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MONITOR/rec.C
warning removal
[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
22 rec.SetRunQA(":") ;
23 rec.SetRunGlobalQA(kFALSE);
24 rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
b5688f53 25 rec.SetRunPlaneEff(kTRUE);
80f17fb9 26
27 // AliReconstruction settings
28 rec.SetWriteESDfriend(kTRUE);
29 rec.SetWriteAlignmentData();
30 rec.SetInput(filename);
d18182ee 31 rec.SetRunReconstruction("ALL -PHOS -HLT");
80f17fb9 32 rec.SetUseTrackingErrorsForAlignment("ITS");
33
34 // switch off cleanESD
35 rec.SetCleanESD(kFALSE);
36
37 AliLog::Flush();
38 rec.Run();
39
40}