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