TENDER becomes Tender, removing .so
[u/mrichter/AliRoot.git] / MONITOR / rec.C
1 void rec(const char *filename="raw.root")
2 {
3   /////////////////////////////////////////////////////////////////////////////////////////
4   //
5   // Script for the online reconstruction/visualization
6   //
7   /////////////////////////////////////////////////////////////////////////////////////////
8   AliTPCRecoParam::SetUseTimeCalibration(kFALSE);
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   
23   rec.SetRunQA(":");
24   rec.SetRunGlobalQA(kFALSE);
25   rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
26   rec.SetRunPlaneEff(kTRUE);
27
28   // AliReconstruction settings
29   rec.SetWriteESDfriend(kTRUE);
30   rec.SetWriteAlignmentData();
31   rec.SetInput(filename);
32   rec.SetRunReconstruction("ALL -PHOS -HLT");
33   rec.SetUseTrackingErrorsForAlignment("ITS");
34
35   // switch off cleanESD
36   rec.SetCleanESD(kFALSE);
37
38   AliLog::Flush();
39   rec.Run();
40
41 }