]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/CalibMacros/PassX/rec.C
Changing structure of the directory:
[u/mrichter/AliRoot.git] / ANALYSIS / CalibMacros / PassX / rec.C
1 void rec(const char *filename="raw.root")
2 {
3   /////////////////////////////////////////////////////////////////////////////////////////
4   //
5   // Reconstruction script for 2009 RAW data
6   //
7   /////////////////////////////////////////////////////////////////////////////////////////
8
9   
10   // Set the CDB storage location
11   AliCDBManager * man = AliCDBManager::Instance();
12   man->SetDefaultStorage("raw://");
13   
14   // Reconstruction settings
15   AliReconstruction rec;
16
17   // Set protection against too many events in a chunk (should not happen)
18   //  rec.SetEventRange(0,30000);
19
20   // Set reconstruction flags (skip detectors here if neded
21   rec.SetRunReconstruction("ITS TPC TRD TOF");
22   //rec.SetFillESD("ITS TPC TRD");
23   // QA options
24   //rec.SetRunQA("Global:ESDs") ;
25   
26   //rec.SetRunQA(":") ;
27   AliQAManager *qam = AliQAManager::QAManager(AliQAv1::kRECMODE) ;
28   rec.SetRunQA(":");
29   rec.SetRunGlobalQA(kFALSE);
30   //ITS QA Off (https://savannah.cern.ch/bugs/?60187)   
31   //rec.SetRunQA("ALL -HLT:ALL") ;
32
33   //rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
34
35   // AliReconstruction settings
36   rec.SetWriteESDfriend(kTRUE);
37   rec.SetWriteAlignmentData();
38   rec.SetInput(filename);
39   rec.SetUseTrackingErrorsForAlignment("ITS");
40
41
42   // Specially for ITS (https://savannah.cern.ch/bugs/?59368)
43
44   rec.SetRunPlaneEff(kTRUE); 
45
46   // switch off cleanESD
47   rec.SetCleanESD(kFALSE);
48
49   //Ignore SetStopOnError
50   rec.SetStopOnError(kFALSE);
51
52   AliLog::Flush();
53   rec.Run();
54
55 }