]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/UPGRADE/rec.C
Account for Readout Cycles in the RemoveDeadPixels, fix in readDigits
[u/mrichter/AliRoot.git] / ITS / UPGRADE / rec.C
1 void rec() {
2   
3   //  AliLog::SetClassDebugLevel("AliReconstruction",1);
4   AliLog::SetClassDebugLevel("AliITSUReconstructor",1);
5
6   TDatime t;
7
8   gSystem->Load("libITSUpgradeBase.so");
9   gSystem->Load("libITSUpgradeRec.so");
10
11   gSystem->Exec("rm -rf *RecPoints* AliESD*");
12
13   // Set ITS upgrade reconstructor
14   gPluginMgr->AddHandler("AliReconstructor", "*",
15                          "AliITSUReconstructor","ITS", "AliITSUReconstructor()");
16   
17   AliReconstruction rec;
18
19   rec.SetRunReconstruction("ITS"); // run cluster finder
20   rec.SetRunTracking(""); // Turn on with ITS when tracker is implemented
21
22   rec.SetRunVertexFinder(kFALSE); // to be implemented - CreateVertexer
23   rec.SetRunMultFinder(kFALSE);   // to be implemented - CreateMultFinder
24   rec.SetRunPlaneEff(kFALSE);     // to be implemented - CreateTrackleter
25
26   //  rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
27   rec.SetSpecificStorage("GRP/GRP/Data",
28                          Form("local://%s",gSystem->pwd()));
29   rec.SetSpecificStorage("ITS/Align/Data",
30                          Form("local://%s",gSystem->pwd()));
31   
32
33   rec.SetRunQA(":");
34   rec.SetRunGlobalQA(0);
35   AliLog::Flush();
36
37   TStopwatch timer;
38   timer.Start();
39   rec.Run();
40   timer.Stop();
41   timer.Print();
42
43   printf("\n\n\n TDatime \n");
44
45   t.Print();
46   t.Set();
47   t.Print();
48 }