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