AliRoot Core  edcc906 (edcc906)
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
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
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);
31  rec.SetInput(filename);
32  rec.SetRunReconstruction("ALL -PHOS -HLT");
34 
35  // switch off cleanESD
36  rec.SetCleanESD(kFALSE);
37 
38  AliLog::Flush();
39  rec.Run();
40 
41 }
void SetWriteAlignmentData(Bool_t flag=kTRUE)
void SetQARefDefaultStorage(const char *uri)
static void SetUseTimeCalibration(Bool_t useTimeCalibration)
virtual Bool_t Run(const char *input=NULL)
void SetRunPlaneEff(Bool_t flag=kFALSE)
Bool_t SetRunQA(TString detAndAction="ALL:ALL")
void SetWriteESDfriend(Bool_t flag=kTRUE)
void SetRunGlobalQA(Bool_t flag=kTRUE)
void SetRunReconstruction(const char *detectors)
void SetSpecificStorage(const char *calibType, const char *dbString, Int_t version=-1, Int_t subVersion=-1)
void SetCleanESD(Bool_t flag=kTRUE)
void rec(const char *filename="raw.root")
Definition: rec.C:1
void SetDefaultStorage(const char *dbString)
static void Flush()
Definition: AliLog.cxx:685
void SetUseTrackingErrorsForAlignment(const char *detectors)
void SetInput(const char *input)
static AliCDBManager * Instance(TMap *entryCache=NULL, Int_t run=-1)