Fix in cluster coordinates calculation
[u/mrichter/AliRoot.git] / ITS / UPGRADE / testITSU / rec.C
CommitLineData
69e5cd9a 1void 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("libITSUpgradeSim.so");
10 gSystem->Load("libITSUpgradeRec.so");
11
dde91d5d 12 // gSystem->Exec("rm -rf *RecPoints* AliESD*");
69e5cd9a 13
14 // Set ITS upgrade reconstructor
88a5f732 15 gPluginMgr->AddHandler("AliReconstructor", "ITS",
69e5cd9a 16 "AliITSUReconstructor","ITS", "AliITSUReconstructor()");
17
18 AliReconstruction rec;
19
0e84ce67 20 rec.SetRunReconstruction("ITS TPC"); // run cluster finder
21 rec.SetRunTracking(""); // Turn on with ITS when tracker is implemented
dde91d5d 22
0e84ce67 23 /*
dde91d5d 24 rec.SetRunReconstruction("");//ITS TPC"); // run cluster finder
25 rec.SetRunTracking("ITS TPC"); // Turn on with ITS when tracker is implemented
0e84ce67 26 */
69e5cd9a 27
28 rec.SetRunVertexFinder(kFALSE); // to be implemented - CreateVertexer
29 rec.SetRunMultFinder(kFALSE); // to be implemented - CreateMultFinder
30 rec.SetRunPlaneEff(kFALSE); // to be implemented - CreateTrackleter
31
32 // rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
33 rec.SetSpecificStorage("GRP/GRP/Data",
34 Form("local://%s",gSystem->pwd()));
35 rec.SetSpecificStorage("ITS/Align/Data",
36 Form("local://%s",gSystem->pwd()));
32d38de2 37 rec.SetSpecificStorage("ITS/Calib/RecoParam",
38 Form("local://%s",gSystem->pwd()));
69e5cd9a 39
40
41 rec.SetRunQA(":");
42 rec.SetRunGlobalQA(0);
43 AliLog::Flush();
44
45 TStopwatch timer;
46 timer.Start();
47 rec.Run();
48 timer.Stop();
49 timer.Print();
50
51 printf("\n\n\n TDatime \n");
52
53 t.Print();
54 t.Set();
55 t.Print();
56}