]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/macros/recPass0.C
Add INT1 and the TRD triggers S masks to the OADB for LHC13g
[u/mrichter/AliRoot.git] / ANALYSIS / macros / recPass0.C
CommitLineData
0309ed6a 1//\r
2// rec.C to be used for pass0\r
3// \r
4\r
5void rec(const char *filename="raw.root",Int_t nevents=-1)\r
6{\r
7 // Load some system libs for Grid and monitoring\r
8 // Set the CDB storage location\r
9 AliCDBManager * man = AliCDBManager::Instance();\r
10 man->SetDefaultStorage("raw://");\r
11 \r
12 // Reconstruction settings\r
13 AliReconstruction rec;\r
14\r
15 // Set protection against too many events in a chunk (should not happen)\r
16 if (nevents>0) rec.SetEventRange(0,nevents);\r
17\r
18 // Switch off HLT until the problem with schema evolution resolved\r
19 //rec.SetRunReconstruction("ALL-HLT");\r
20 //\r
21 // QA options\r
22 //\r
23 AliQAManager *qam = AliQAManager::QAManager(AliQAv1::kRECMODE) ;\r
24 rec.SetRunQA(":");\r
25 rec.SetRunGlobalQA(kFALSE);\r
26\r
27 // AliReconstruction settings\r
28 rec.SetWriteESDfriend(kTRUE);\r
29 rec.SetWriteAlignmentData();\r
30 rec.SetInput(filename);\r
31 rec.SetUseTrackingErrorsForAlignment("ITS");\r
32 rec.SetRunReconstruction("ITS TPC TRD TOF");\r
33 rec.SetFillESD("ITS TPC TRD TOF");\r
34\r
35 // switch off cleanESD\r
36 rec.SetCleanESD(kFALSE);\r
37\r
38 AliLog::Flush();\r
39 rec.Run();\r
40\r
41}\r
42\r
43\r