]>
Commit | Line | Data |
---|---|---|
943e1898 | 1 | |
69e5cd9a | 2 | void rec() { |
3 | ||
4 | // AliLog::SetClassDebugLevel("AliReconstruction",1); | |
5 | AliLog::SetClassDebugLevel("AliITSUReconstructor",1); | |
6 | ||
7 | TDatime t; | |
8 | ||
9 | gSystem->Load("libITSUpgradeBase.so"); | |
10 | gSystem->Load("libITSUpgradeSim.so"); | |
11 | gSystem->Load("libITSUpgradeRec.so"); | |
12 | ||
dde91d5d | 13 | // gSystem->Exec("rm -rf *RecPoints* AliESD*"); |
69e5cd9a | 14 | |
15 | // Set ITS upgrade reconstructor | |
88a5f732 | 16 | gPluginMgr->AddHandler("AliReconstructor", "ITS", |
69e5cd9a | 17 | "AliITSUReconstructor","ITS", "AliITSUReconstructor()"); |
18 | ||
19 | AliReconstruction rec; | |
3dd9c283 | 20 | rec.SetRunReconstruction("ITS TPC"); // run cluster finder |
c8d1f258 | 21 | //rec.SetRunTracking(""); // Turn on with ITS when tracker is implemented |
dde91d5d | 22 | rec.SetRunTracking("ITS TPC"); // Turn on with ITS when tracker is implemented |
c8d1f258 | 23 | |
3dd9c283 | 24 | |
25 | //rec.SetRunReconstruction("");//ITS TPC"); // run cluster finder | |
26 | //rec.SetRunTracking("ITS TPC"); // Turn on with ITS when tracker is implemented | |
27 | ||
69e5cd9a | 28 | |
29 | rec.SetRunVertexFinder(kFALSE); // to be implemented - CreateVertexer | |
30 | rec.SetRunMultFinder(kFALSE); // to be implemented - CreateMultFinder | |
31 | rec.SetRunPlaneEff(kFALSE); // to be implemented - CreateTrackleter | |
32 | ||
33 | // rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); | |
34 | rec.SetSpecificStorage("GRP/GRP/Data", | |
35 | Form("local://%s",gSystem->pwd())); | |
36 | rec.SetSpecificStorage("ITS/Align/Data", | |
37 | Form("local://%s",gSystem->pwd())); | |
32d38de2 | 38 | rec.SetSpecificStorage("ITS/Calib/RecoParam", |
39 | Form("local://%s",gSystem->pwd())); | |
69e5cd9a | 40 | |
41 | ||
42 | rec.SetRunQA(":"); | |
43 | rec.SetRunGlobalQA(0); | |
44 | AliLog::Flush(); | |
45 | ||
46 | TStopwatch timer; | |
47 | timer.Start(); | |
15b02d69 | 48 | // |
49 | // AliLog::SetClassDebugLevel("AliITSUTrackerGlo",3); | |
50 | // | |
69e5cd9a | 51 | rec.Run(); |
52 | timer.Stop(); | |
53 | timer.Print(); | |
54 | ||
55 | printf("\n\n\n TDatime \n"); | |
69e5cd9a | 56 | t.Print(); |
57 | } |