1 void rec(const char *filename="raw.root")
3 /////////////////////////////////////////////////////////////////////////////////////////
5 // Reconstruction script for 2009 RAW data
7 /////////////////////////////////////////////////////////////////////////////////////////
10 // Set the CDB storage location
11 AliCDBManager * man = AliCDBManager::Instance();
12 man->SetDefaultStorage("raw://");
14 // Reconstruction settings
15 AliReconstruction rec;
17 // Set protection against too many events in a chunk (should not happen)
18 // rec.SetEventRange(0,30000);
20 // Set reconstruction flags (skip detectors here if neded
21 rec.SetRunReconstruction("ITS TPC TRD TOF");
22 //rec.SetFillESD("ITS TPC TRD");
24 //rec.SetRunQA("Global:ESDs") ;
27 AliQAManager *qam = AliQAManager::QAManager(AliQAv1::kRECMODE) ;
29 rec.SetRunGlobalQA(kFALSE);
30 //ITS QA Off (https://savannah.cern.ch/bugs/?60187)
31 //rec.SetRunQA("ALL -HLT:ALL") ;
33 //rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
35 // AliReconstruction settings
36 rec.SetWriteESDfriend(kTRUE);
37 rec.SetWriteAlignmentData();
38 rec.SetInput(filename);
39 rec.SetUseTrackingErrorsForAlignment("ITS");
42 // Specially for ITS (https://savannah.cern.ch/bugs/?59368)
44 rec.SetRunPlaneEff(kTRUE);
46 // switch off cleanESD
47 rec.SetCleanESD(kFALSE);
49 //Ignore SetStopOnError
50 rec.SetStopOnError(kFALSE);