AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rec.C
Go to the documentation of this file.
1 void rec(const char *filename="raw.root")
2 {
4  //
5  // Script for the online reconstruction/visualization
6  //
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 }
static void SetUseTimeCalibration(Bool_t useTimeCalibration)
void rec(const char *filename="raw.root")
Definition: rec.C:1